class_docstr: Directive to describe a class, function or similar object.  Not used
  directly, but subclassed (in domain-specific directives) to add custom
  behavior.
class_docstr_tok: ["Directive","to","describe","a","class",",","function","or","similar","object",".","Not","used","directly",",","but","subclassed","(","in","domain-specific","directives",")","to","add","custom","behavior","."]
docstr: Retrieve the signatures to document from the directive arguments.  By
  default, signatures are given as arguments, one per line.
docstr_tok: ["Retrieve","the","signatures","to","document","from","the","directive","arguments",".","By","default",",","signatures","are","given","as","arguments",",","one","per","line","."]
code: def get_signatures(self) -> list[str]:
      """
      Retrieve the signatures to document from the directive arguments.  By
      default, signatures are given as arguments, one per line.
      """
      lines = nl_escape_re.sub("", self.arguments[0]).split("\n")
      if self.config.strip_signature_backslash:
          # remove backslashes to support (dummy) escapes; helps Vim highlighting
          return [
              strip_backslash_re.sub(r"\1", line.strip())
              for line in lines
          ]
      else:
          return [line.strip() for line in lines]
  
imports: from __future__ import annotations
  import re
  from typing import TYPE_CHECKING, Any, Generic, TypeVar, cast
  from docutils import nodes
  from docutils.parsers.rst import directives, roles
  from sphinx import addnodes
  from sphinx.addnodes import desc_signature
  from sphinx.util import docutils
  from sphinx.util.docfields import DocFieldTransformer, Field, TypedField
  from sphinx.util.docutils import SphinxDirective
  from sphinx.util.nodes import nested_parse_with_titles
  from sphinx.util.typing import OptionSpec
label_desc: Use image node_id 2 for calling the ObjectDescription obj's underlying member method code with example usage: obj.get_signatures() and returns: unknown, unknown