mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
Make Any a proper class instead of an alias to object() (#13520)
This commit is contained in:
1 parent
ace1fa91f2
commit
693b66ae9a
2 files changed
+2
-2
No files matched your search
@@ -464,6 +464,7 @@ typing._Final
|
||||
typing._Final.__init_subclass__
|
||||
typing\.Protocol
|
||||
typing(_extensions)?\._TypedDict
|
||||
typing(_extensions)?\.Any.*
|
||||
typing(_extensions)?\.Generic
|
||||
typing(_extensions)?\.TypedDict
|
||||
typing_extensions\.ParamSpec.*
|
||||
|
||||
+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