class_docstr: Proxy to a module object that avoids executing arbitrary code.
class_docstr_tok: ["Proxy","to","a","module","object","that","avoids","executing","arbitrary","code","."]
code: def _find_assignments(self) -> Iterator[Tuple[ast.AST, ast.AST]]:
      for statement in self.module.body:
          if isinstance(statement, ast.Assign):
              yield from (
                  (target, statement.value)
                  for target in statement.targets
              )
          elif isinstance(statement, ast.AnnAssign) and statement.value:
              yield (statement.target, statement.value)
  
imports: import ast
  import importlib
  import os
  import pathlib
  import sys
  from glob import iglob
  from configparser import ConfigParser
  from importlib.machinery import ModuleSpec
  from itertools import chain
  from typing import TYPE_CHECKING, Callable, Dict, Iterable, Iterator, List, Mapping, Optional, Tuple, TypeVar, Union, cast
  from pathlib import Path
  from types import ModuleType
  from distutils.errors import DistutilsOptionError
  from .._path import same_path
  from ..warnings import SetuptoolsWarning
label_desc: Use image node_id 2 for calling the StaticModule obj's underlying member method code with example usage: obj._find_assignments() without return types