class_docstr: Object returned by the ``monkeypatch`` fixture keeping a record of setattr/item/env/syspath changes.
      
class_docstr_tok: ["Object","returned","by","the","``","monkeypatch","``","fixture","keeping","a","record","of","setattr\/item\/env\/syspath","changes","."]
docstr: Set dictionary entry ``name`` to value. 
docstr_tok: ["Set","dictionary","entry","``","name","``","to","value","."]
code: def setitem(self, dic, name, value):
      """Set dictionary entry ``name`` to value."""
      self._setitem.append((dic, name, dic.get(name, notset)))
      dic[name] = value
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import re
  import sys
  import warnings
  from contextlib import contextmanager
  import six
  import pytest
  from _pytest.fixtures import fixture
  from _pytest.pathlib import Path
label_desc: Use image node_id 5 for calling the MonkeyPatch obj's underlying member method code with example usage: obj.setitem(dic, name, value) without return types