Skip to content

Commit

Permalink
not directly lifted from the docs anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Nov 6, 2023
1 parent bb0690c commit 6bf0434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyi.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class TypeVarInfo(NamedTuple):
def all_equal(iterable: Iterable[object]) -> bool:
"""Returns True if all the elements are equal to each other.
Taken straight from the CPython itertools documentation."""
Adapted from the CPython itertools documentation."""
g = groupby(iterable)
next(g, True)
return not next(g, False)
Expand Down

0 comments on commit 6bf0434

Please sign in to comment.