mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-06 18:20:17 +00:00
6 lines
208 B
Python
6 lines
208 B
Python
def isgeneratorfunction(obj) -> bool: ...
|
|
|
|
def is_user_defined_type(t: type) -> bool:
|
|
"""Check if a type is user-defined.
|
|
|
|
This means the type was created by executing python `class` statement.""" |