Skip to content

Commit 3887a1b

Browse files
authored
Apply batched suggestions from code review
Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent 17de1e4 commit 3887a1b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

sorts/circle_sort.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@
99
"""
1010

1111
from collections.abc import MutableSequence
12-
from typing import Any, Protocol, TypeVar
12+
from typing import Any, Protocol
1313

1414

1515
class Comparable(Protocol):
1616
def __lt__(self, other: Any, /) -> bool: ...
1717

1818

19-
T = TypeVar("T", bound=Comparable)
20-
21-
2219
def circle_sort[T: Comparable](
2320
collection: MutableSequence[T],
2421
) -> MutableSequence[T]:

0 commit comments

Comments
 (0)