inspect.pyi 208 B

123456
  1. def isgeneratorfunction(obj) -> bool: ...
  2. def is_user_defined_type(t: type) -> bool:
  3. """Check if a type is user-defined.
  4. This means the type was created by executing python `class` statement."""