Skip to content

Commit

Permalink
drive by: Fix SizedIter docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-koch committed Nov 5, 2024
1 parent 18f8d87 commit 3716b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guppylang/prelude/builtins.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def __new__(): ...

@guppy.extend_type(sized_iter_type_def)
class SizedIter:
"""A wrapper around an iterator type `T` promising that the iterator will yield
"""A wrapper around an iterator type `L` promising that the iterator will yield
exactly `n` values.
Annotating an iterator with an incorrect size is undefined behaviour.
Expand Down

0 comments on commit 3716b7e

Please sign in to comment.