We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 552cb40 commit 971d2c3Copy full SHA for 971d2c3
stdlib/builtins.pyi
@@ -778,7 +778,7 @@ class function:
778
__annotations__: dict[str, Any]
779
__kwdefaults__: dict[str, Any]
780
__module__: str
781
- def __get__(self, obj: object | None, type: type | None) -> MethodType: ...
+ def __get__(self, obj: object | None, type: type | None = ...) -> MethodType: ...
782
783
class list(MutableSequence[_T], Generic[_T]):
784
@overload
0 commit comments