Audit stdlib object annotations (#9519)

This commit is contained in:
Avasam authored and GitHub committed 2023-01-17 15:40:00 +00:00
1 parent 3d6b8dccfe
commit c70d303985
31 files changed
+79 -79

No files matched your search

+1 -1
View File
@@ -413,7 +413,7 @@ class _StaticFunctionType:
# By wrapping FunctionType in _StaticFunctionType, we get the right result;
# similar to wrapping a function in staticmethod() at runtime to prevent it
# being bound as a method.
def __get__(self, obj: object | None, type: type | None) -> FunctionType: ...
def __get__(self, obj: object, type: type | None) -> FunctionType: ...
@final
class MethodType: