mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
Add deprecation classes in importlib.metadata (#11118)
This commit is contained in:
1 parent
be55326873
commit
695d67cd7b
4 files changed
+76
-10
No files matched your search
@@ -153,6 +153,10 @@ typing.ParamSpec(Args|Kwargs).__origin__
|
||||
importlib.abc.Traversable.joinpath
|
||||
importlib.abc.Traversable.open
|
||||
|
||||
# Deprecation wrapper classes; their methods are just pass-through, so we can ignore them.
|
||||
importlib.metadata.DeprecatedList.reverse
|
||||
importlib.metadata.DeprecatedList.sort
|
||||
|
||||
# Super-special typing primitives
|
||||
typing\.NamedTuple
|
||||
typing\.Annotated
|
||||
|
||||
@@ -106,6 +106,10 @@ unittest.case.TestCase.__init_subclass__
|
||||
importlib.abc.Traversable.open
|
||||
importlib.resources.abc.Traversable.open
|
||||
|
||||
# Deprecation wrapper classes; their methods are just pass-through, so we can ignore them.
|
||||
importlib.metadata.DeprecatedList.reverse
|
||||
importlib.metadata.DeprecatedList.sort
|
||||
|
||||
# Super-special typing primitives
|
||||
typing\._SpecialForm.*
|
||||
typing\.NamedTuple
|
||||
|
||||
@@ -97,6 +97,9 @@ unittest.case.TestCase.__init_subclass__
|
||||
importlib.abc.Traversable.open
|
||||
importlib.resources.abc.Traversable.open
|
||||
|
||||
# Deprecation wrapper classes; their methods are just pass-through, so we can ignore them.
|
||||
importlib.metadata.DeprecatedNonAbstract.__new__
|
||||
|
||||
# Super-special typing primitives
|
||||
typing\._SpecialForm.*
|
||||
typing\.NamedTuple
|
||||
|
||||
Reference in new issue
Block a user