Skip to content

Commit 89ced89

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 11077b4 commit 89ced89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

stdlib/_collections_abc.pyi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ from typing import ( # noqa: Y022,Y038,UP035,Y057
2424
MutableMapping as MutableMapping,
2525
MutableSequence as MutableSequence,
2626
MutableSet as MutableSet,
27+
ParamSpec,
2728
Protocol,
2829
Reversible as Reversible,
2930
Sequence as Sequence,
3031
Sized as Sized,
3132
TypeVar,
3233
ValuesView as ValuesView,
3334
final,
34-
runtime_checkable, ParamSpec,
35+
runtime_checkable,
3536
)
3637

3738
__all__ = [
@@ -70,12 +71,10 @@ _VT_co = TypeVar("_VT_co", covariant=True) # Value type covariant containers.
7071

7172
_P = ParamSpec("_P")
7273

73-
7474
class Callable(Protocol[_P, _T_co]):
7575
@abstractmethod
7676
def __call__(self, *args: _P.args, **kwargs: _P.kwargs) -> _T_co: ...
7777

78-
7978
@final
8079
class dict_keys(KeysView[_KT_co], Generic[_KT_co, _VT_co]): # undocumented
8180
def __eq__(self, value: object, /) -> bool: ...

0 commit comments

Comments
 (0)