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: Called after creating the content through nested parsing,
  but before the ``object-description-transform`` event is emitted,
  and before the info-fields are transformed.
  Can be used to manipulate the content.
docstr_tok: ["Called","after","creating","the","content","through","nested","parsing",",","but","before","the","``","object-description-transform","``","event","is","emitted",",","and","before","the","info-fields","are","transformed",".","Can","be","used","to","manipulate","the","content","."]
code: def transform_content(
      self, contentnode: addnodes.desc_content
  ) -> None:
      """
      Called after creating the content through nested parsing,
      but before the ``object-description-transform`` event is emitted,
      and before the info-fields are transformed.
      Can be used to manipulate the content.
      """
      pass
  
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 6 for calling the ObjectDescription obj's underlying member method code with example usage: obj.transform_content(contentnode) without return types