Explore the removal of Sequence[str] as a base class to str.

This commit is contained in:
Eric Traut 2024-06-28 10:30:19 -07:00
parent 3c70b4e0d1
commit 02b9613970

View File

@ -430,7 +430,7 @@ class _FormatMapMapping(Protocol):
class _TranslateTable(Protocol):
def __getitem__(self, key: int, /) -> str | int | None: ...
class str(Sequence[str]):
class str:
@overload
def __new__(cls, object: object = ...) -> Self: ...
@overload