Skip to content

Commit ea1eac8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 78f90cf commit ea1eac8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

stdlib/_typeshed/__init__.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,13 @@ class SupportsTrunc(Protocol):
162162

163163
# The second and third overload could technically be combined, but splitting
164164
# them works better with some type checkers.
165-
class SupportsGet(Protocol[_KT_contra, _VT_co]):# type: ignore[misc] # Covariant type as parameter
165+
class SupportsGet(Protocol[_KT_contra, _VT_co]): # type: ignore[misc] # Covariant type as parameter
166166
@overload
167167
def get(self, key: _KT_contra, /) -> _VT_co | None: ...
168168
@overload
169-
def get(self, key: _KT_contra, default: _VT_co, /) -> _VT_co: ... # pyright: ignore[reportGeneralTypeIssues] # Covariant type as parameter
169+
def get(
170+
self, key: _KT_contra, default: _VT_co, /
171+
) -> _VT_co: ... # pyright: ignore[reportGeneralTypeIssues] # Covariant type as parameter
170172
@overload
171173
def get(self, key: _KT_contra, default: _T, /) -> _VT_co | _T: ...
172174

0 commit comments

Comments
 (0)