code: def recursive_subclasses(cls):
      """Yield *cls* and direct and indirect subclasses of *cls*."""
      yield cls
      for subcls in cls.__subclasses__():
          yield from recursive_subclasses(subcls)
  
imports: import functools
  import itertools
  import re
  import sys
  import warnings
  from .deprecation import deprecated, warn_deprecated, rename_parameter, delete_parameter, make_keyword_only, deprecate_method_override, deprecate_privatize_attribute, suppress_matplotlib_deprecation_warning, MatplotlibDeprecationWarning
label_desc: Use image node_id 10 for calling a global function with example usage: recursive_subclasses(cls) without return types