mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
1 parent
4e62577002
commit
23604858a6
122 files changed
+1952
-3800
No files matched your search
@@ -169,20 +169,12 @@ class UserString(Sequence[UserString]):
|
||||
def __mul__(self, n: int) -> Self: ...
|
||||
def __rmul__(self, n: int) -> Self: ...
|
||||
def __mod__(self, args: Any) -> Self: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
def __rmod__(self, template: object) -> Self: ...
|
||||
else:
|
||||
def __rmod__(self, format: Any) -> Self: ...
|
||||
|
||||
def __rmod__(self, template: object) -> Self: ...
|
||||
def capitalize(self) -> Self: ...
|
||||
def casefold(self) -> Self: ...
|
||||
def center(self, width: int, *args: Any) -> Self: ...
|
||||
def count(self, sub: str | UserString, start: int = 0, end: int = sys.maxsize) -> int: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
def encode(self: UserString, encoding: str | None = "utf-8", errors: str | None = "strict") -> bytes: ...
|
||||
else:
|
||||
def encode(self, encoding: str | None = None, errors: str | None = None) -> Self: ...
|
||||
|
||||
def encode(self: UserString, encoding: str | None = "utf-8", errors: str | None = "strict") -> bytes: ...
|
||||
def endswith(self, suffix: str | tuple[str, ...], start: int | None = 0, end: int | None = sys.maxsize) -> bool: ...
|
||||
def expandtabs(self, tabsize: int = 8) -> Self: ...
|
||||
def find(self, sub: str | UserString, start: int = 0, end: int = sys.maxsize) -> int: ...
|
||||
|
||||
Reference in new issue
Block a user