mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-19 22:50:29 +08:00
Make Any a proper class instead of an alias to object() (#13520)
This commit is contained in:
+1
-2
@@ -130,8 +130,7 @@ if sys.version_info >= (3, 12):
|
||||
if sys.version_info >= (3, 13):
|
||||
__all__ += ["get_protocol_members", "is_protocol", "NoDefault", "TypeIs", "ReadOnly"]
|
||||
|
||||
Any = object()
|
||||
|
||||
class Any: ...
|
||||
class _Final: ...
|
||||
|
||||
def final(f: _T) -> _T: ...
|
||||
|
||||
Reference in New Issue
Block a user