mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
Add __code__ to types.MethodType (#12749)
This commit is contained in:
1 parent
8bc20e7415
commit
1f4031cc96
2 files changed
+3
No files matched your search
@@ -424,6 +424,8 @@ class MethodType:
|
||||
@property
|
||||
def __closure__(self) -> tuple[CellType, ...] | None: ... # inherited from the added function
|
||||
@property
|
||||
def __code__(self) -> CodeType: ... # inherited from the added function
|
||||
@property
|
||||
def __defaults__(self) -> tuple[Any, ...] | None: ... # inherited from the added function
|
||||
@property
|
||||
def __func__(self) -> Callable[..., Any]: ...
|
||||
|
||||
Reference in new issue
Block a user