mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Add types.FunctionType.__module__ (#7581)
This exists on builtins.function but not here.
This commit is contained in:
1 parent
d45c9084a4
commit
cfb1381c2e
1 file changed
+1
@@ -200,6 +200,7 @@ class FunctionType:
|
||||
@property
|
||||
def __builtins__(self) -> dict[str, Any]: ...
|
||||
|
||||
__module__: str
|
||||
def __init__(
|
||||
self,
|
||||
code: CodeType,
|
||||
|
||||
Reference in new issue
Block a user