mirror of
https://github.com/microsoft/pyright.git
synced 2024-08-16 19:30:26 +03:00
Explore the removal of Sequence[str]
as a base class to str
.
This commit is contained in:
parent
3c70b4e0d1
commit
02b9613970
@ -430,7 +430,7 @@ class _FormatMapMapping(Protocol):
|
|||||||
class _TranslateTable(Protocol):
|
class _TranslateTable(Protocol):
|
||||||
def __getitem__(self, key: int, /) -> str | int | None: ...
|
def __getitem__(self, key: int, /) -> str | int | None: ...
|
||||||
|
|
||||||
class str(Sequence[str]):
|
class str:
|
||||||
@overload
|
@overload
|
||||||
def __new__(cls, object: object = ...) -> Self: ...
|
def __new__(cls, object: object = ...) -> Self: ...
|
||||||
@overload
|
@overload
|
||||||
|
Loading…
Reference in New Issue
Block a user