¡@

Home 

python Programming Glossary: self._deletes

custom dict that allows delete during iteration

http://stackoverflow.com/questions/9023078/custom-dict-that-allows-delete-during-iteration

self raise KeyError str key dict.__delitem__ self key if self._deletes is None else self._deletes.add key def __enter__ self self._deletes.. dict.__delitem__ self key if self._deletes is None else self._deletes.add key def __enter__ self self._deletes set def __exit__ self.. is None else self._deletes.add key def __enter__ self self._deletes set def __exit__ self type value tb for key in self._deletes..