class_docstr: Parses a numpydoc string to an abstract representation
  
  Instances define a mapping from section title to structured data.
class_docstr_tok: ["Parses","a","numpydoc","string","to","an","abstract","representation","Instances","define","a","mapping","from","section","title","to","structured","data","."]
code: def _error_location(self, msg):
      if hasattr(self, "_obj"):
          # we know where the docs came from:
          try:
              filename = inspect.getsourcefile(self._obj)
          except TypeError:
              filename = None
          msg = msg + (
              " in the docstring of {} in {}.".format(
                  self._obj, filename
              )
          )
  
      raise ValueError(msg)
  
imports: from collections import namedtuple
  from collections.abc import Mapping
  import copy
  import inspect
  import re
  import textwrap
  from statsmodels.tools.sm_exceptions import ParseError
label_desc: Use image node_id 15 for calling the NumpyDocString obj's underlying member method code with example usage: obj._error_location(msg) without return types