Add types.FunctionType.__module__ (#7581)

This exists on builtins.function but not here.
This commit is contained in:
Jelle Zijlstra
2022-04-02 17:44:17 -07:00
committed by GitHub
parent d45c9084a4
commit cfb1381c2e

View File

@@ -200,6 +200,7 @@ class FunctionType:
@property
def __builtins__(self) -> dict[str, Any]: ...
__module__: str
def __init__(
self,
code: CodeType,