class_docstr: Foo test
  
  Second line
docstr: constructor docs.
docstr_tok: ["constructor","docs","."]
code: def __init__(self, foo: int) -> None:
      """constructor docs."""
      self.foo = foo
  
imports: import io
  import sys
  from types import ModuleType
  from typing import Sequence, Type
  import pytest
  from rich import inspect
  from rich._inspect import get_object_types_mro, get_object_types_mro_as_strings, is_object_one_of_types
  from rich.console import Console
label_desc: Use image node_id 1 to create a new Foo object  with example: obj = Foo(foo)