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 _str_see_also(self, func_role):
      if not self["See Also"]:
          return []
      out = []
      out += self._str_header("See Also")
      out += [""]
      last_had_desc = True
      for funcs, desc in self["See Also"]:
          assert isinstance(funcs, list)
          links = []
          for func, role in funcs:
              if role:
                  link = f":{role}:`{func}`"
              elif func_role:
                  link = f":{func_role}:`{func}`"
              else:
                  link = f"`{func}`_"
              links.append(link)
          link = ", ".join(links)
          out += [link]
          if desc:
              out += self._str_indent([" ".join(desc)])
              last_had_desc = True
          else:
              last_had_desc = False
              out += self._str_indent([self.empty_description])
  
      if last_had_desc:
          out += [""]
      out += [""]
      return out
  
imports: import inspect
  import textwrap
  import re
  import pydoc
  from warnings import warn
  from collections import namedtuple
  from collections.abc import Callable, Mapping
  import copy
  import sys
label_desc: Use image node_id 23 for calling the NumpyDocString obj's underlying member method code with example usage: obj._str_see_also(func_role) and returns: out, list