(self)
| 99 | self.data = {} |
| 100 | |
| 101 | def _commit_removals(self): |
| 102 | pop = self._pending_removals.pop |
| 103 | d = self.data |
| 104 | while True: |
| 105 | try: |
| 106 | key = pop() |
| 107 | except IndexError: |
| 108 | return |
| 109 | _weakref._remove_dead_weakref(d, key) |
| 110 | |
| 111 | def get(self, key, default=None): |
| 112 | if self._pending_removals: |
no outgoing calls
no test coverage detected