mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
black: enable skip_magic_trailing_comma (#5252)
* black: enable skip_magic_trailing_comma * Remove spurious commas
This commit is contained in:
@@ -1007,11 +1007,7 @@ def round(number: SupportsFloat) -> float: ...
|
||||
def round(number: SupportsFloat, ndigits: int) -> float: ...
|
||||
def setattr(__obj: Any, __name: Text, __value: Any) -> None: ...
|
||||
def sorted(
|
||||
__iterable: Iterable[_T],
|
||||
*,
|
||||
cmp: Callable[[_T, _T], int] = ...,
|
||||
key: Optional[Callable[[_T], Any]] = ...,
|
||||
reverse: bool = ...,
|
||||
__iterable: Iterable[_T], *, cmp: Callable[[_T, _T], int] = ..., key: Optional[Callable[[_T], Any]] = ..., reverse: bool = ...
|
||||
) -> List[_T]: ...
|
||||
@overload
|
||||
def sum(__iterable: Iterable[_T]) -> Union[_T, int]: ...
|
||||
|
||||
Reference in New Issue
Block a user