mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
Audit stdlib object annotations (#9519)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user