Return the dict for the current thread. Raises KeyError if none defined.
(self)
| 34 | self.dicts = {} |
| 35 | |
| 36 | def get_dict(self): |
| 37 | """Return the dict for the current thread. Raises KeyError if none |
| 38 | defined.""" |
| 39 | thread = current_thread() |
| 40 | return self.dicts[id(thread)][1] |
| 41 | |
| 42 | def create_dict(self): |
| 43 | """Create a new dict for the current thread, and return it.""" |
no test coverage detected