docstr: Provide dot access to entries for clean raw docstrings.
docstr_tok: ["Provide","dot","access","to","entries","for","clean","raw","docstrings","."]
code: def __getattr__(self, attr):
      """Provide dot access to entries for clean raw docstrings."""
      if attr in self.entries:
          return self.entries[attr]
      else:
          try:
              return self.__getattribute__(attr)
          except AttributeError as err:
              # If Python is run with -OO, it will strip docstrings and our lookup
              # from self.entries will fail. We check for __debug__, which is actually
              # set to False by -O (it is True for normal execution).
              # But we only want to see an error when building the docs;
              # not something users should see, so this slight inconsistency is fine.
              if __debug__:
                  raise err
              else:
                  pass
  
file_path: seaborn/seaborn/_docstrings.py
imports: import re
  import pydoc
  from .external.docscrape import NumpyDocString
label_desc: Use image node_id 2 for calling the DocstringComponents obj's underlying member method code with example usage: obj.__getattr__(attr) and returns: self, self