mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 10:51:15 +08:00
A new shade of Black (#11362)
This commit is contained in:
@@ -43,6 +43,7 @@ class PackageNotFoundError(ModuleNotFoundError):
|
||||
if sys.version_info >= (3, 11):
|
||||
class DeprecatedTuple:
|
||||
def __getitem__(self, item: int) -> str: ...
|
||||
|
||||
_EntryPointBase = DeprecatedTuple
|
||||
else:
|
||||
class _EntryPointBase(NamedTuple):
|
||||
|
||||
Reference in New Issue
Block a user