class_docstr: A class managing thread-local dicts
class_docstr_tok: ["A","class","managing","thread-local","dicts"]
docstr: Return the dict for the current thread. Raises KeyError if none
  defined.
docstr_tok: ["Return","the","dict","for","the","current","thread",".","Raises","KeyError","if","none","defined","."]
code: def get_dict(self):
      """Return the dict for the current thread. Raises KeyError if none
      defined."""
      thread = current_thread()
      return self.dicts[id(thread)][1]
  
file_path: cpython/Lib/_threading_local.py
imports: from weakref import ref
  from contextlib import contextmanager
  from threading import current_thread, RLock
label_desc: Use image node_id 2 for calling the _localimpl obj's underlying member method code with example usage: obj.get_dict() and returns: self