mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-01 13:40:23 +08:00
black: enable skip_magic_trailing_comma (#5252)
* black: enable skip_magic_trailing_comma * Remove spurious commas
This commit is contained in:
+3
-11
@@ -334,10 +334,7 @@ class str(Sequence[str]):
|
||||
def count(self, x: str, __start: Optional[SupportsIndex] = ..., __end: Optional[SupportsIndex] = ...) -> int: ...
|
||||
def encode(self, encoding: str = ..., errors: str = ...) -> bytes: ...
|
||||
def endswith(
|
||||
self,
|
||||
__suffix: Union[str, Tuple[str, ...]],
|
||||
__start: Optional[SupportsIndex] = ...,
|
||||
__end: Optional[SupportsIndex] = ...,
|
||||
self, __suffix: Union[str, Tuple[str, ...]], __start: Optional[SupportsIndex] = ..., __end: Optional[SupportsIndex] = ...
|
||||
) -> bool: ...
|
||||
def expandtabs(self, tabsize: int = ...) -> str: ...
|
||||
def find(self, __sub: str, __start: Optional[SupportsIndex] = ..., __end: Optional[SupportsIndex] = ...) -> int: ...
|
||||
@@ -375,10 +372,7 @@ class str(Sequence[str]):
|
||||
def split(self, sep: Optional[str] = ..., maxsplit: int = ...) -> List[str]: ...
|
||||
def splitlines(self, keepends: bool = ...) -> List[str]: ...
|
||||
def startswith(
|
||||
self,
|
||||
__prefix: Union[str, Tuple[str, ...]],
|
||||
__start: Optional[SupportsIndex] = ...,
|
||||
__end: Optional[SupportsIndex] = ...,
|
||||
self, __prefix: Union[str, Tuple[str, ...]], __start: Optional[SupportsIndex] = ..., __end: Optional[SupportsIndex] = ...
|
||||
) -> bool: ...
|
||||
def strip(self, __chars: Optional[str] = ...) -> str: ...
|
||||
def swapcase(self) -> str: ...
|
||||
@@ -999,9 +993,7 @@ def eval(
|
||||
__source: Union[str, bytes, CodeType], __globals: Optional[Dict[str, Any]] = ..., __locals: Optional[Mapping[str, Any]] = ...
|
||||
) -> Any: ...
|
||||
def exec(
|
||||
__source: Union[str, bytes, CodeType],
|
||||
__globals: Optional[Dict[str, Any]] = ...,
|
||||
__locals: Optional[Mapping[str, Any]] = ...,
|
||||
__source: Union[str, bytes, CodeType], __globals: Optional[Dict[str, Any]] = ..., __locals: Optional[Mapping[str, Any]] = ...
|
||||
) -> Any: ...
|
||||
def exit(code: object = ...) -> NoReturn: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user