Skip to content

Commit 55af50c

Browse files
avoid name clash
1 parent 55044ec commit 55af50c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asyncstdlib/itertools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
enumerate as aenumerate,
3232
iter as aiter,
3333
)
34-
from itertools import count as _count
34+
from itertools import count as _counter
3535

3636
S = TypeVar("S")
3737
T_co = TypeVar("T_co", covariant=True)
@@ -346,7 +346,7 @@ async def __aexit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:
346346
return None
347347

348348

349-
_get_tee_index = _count().__next__
349+
_get_tee_index = _counter().__next__
350350

351351

352352
_TeeNode: TypeAlias = "list[T | _TeeNode[T]]"

0 commit comments

Comments
 (0)