mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 11:32:07 +08:00
Audit stdlib object annotations (#9519)
This commit is contained in:
@@ -953,7 +953,7 @@ class function:
|
||||
|
||||
__module__: str
|
||||
# mypy uses `builtins.function.__get__` to represent methods, properties, and getset_descriptors so we type the return as Any.
|
||||
def __get__(self, obj: object | None, type: type | None = ...) -> Any: ...
|
||||
def __get__(self, obj: object, type: type | None = ...) -> Any: ...
|
||||
|
||||
class list(MutableSequence[_T], Generic[_T]):
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user