Add types.FunctionType.__module__ (#7581)

This exists on builtins.function but not here.
This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2022-04-02 17:44:17 -07:00
1 parent d45c9084a4
commit cfb1381c2e
1 file changed
+1
+1
View File
@@ -200,6 +200,7 @@ class FunctionType:
@property
def __builtins__(self) -> dict[str, Any]: ...
__module__: str
def __init__(
self,
code: CodeType,