mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add types.FunctionType.__module__ (#7581)
This exists on builtins.function but not here.
This commit is contained in:
@@ -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