Lines Matching refs:in_dict
1605 def __init__(self, in_dict, values=(), clear=False, **kwargs): argument
1606 self.in_dict = in_dict
1633 decorator = _patch_dict(self.in_dict, self.values, self.clear)
1646 if isinstance(self.in_dict, str):
1647 self.in_dict = _importer(self.in_dict)
1648 in_dict = self.in_dict
1652 original = in_dict.copy()
1657 for key in in_dict:
1658 original[key] = in_dict[key]
1662 _clear_dict(in_dict)
1665 in_dict.update(values)
1669 in_dict[key] = values[key]
1673 in_dict = self.in_dict
1676 _clear_dict(in_dict)
1679 in_dict.update(original)
1682 in_dict[key] = original[key]
1694 def _clear_dict(in_dict): argument
1696 in_dict.clear()
1698 keys = list(in_dict)
1700 del in_dict[key]