Skip to content

Commit

Permalink
Amend default value of par in Bridge.new to False.
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesBartlett committed Aug 11, 2024
1 parent c7d3501 commit 4e59b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serox/iter.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ class Bridge[Item, Par: (True_, False_)](Iterator[Item, Par]):

@classmethod
def new[Item2, Par2: (True_, False_)](
cls, iter: NativeIterator[Item2], /, par: Par2 = True
cls, iter: NativeIterator[Item2], /, par: Par2 = False
) -> Bridge[Item2, Par2]:
return Bridge(iter=iter, par=par)

Expand Down

0 comments on commit 4e59b20

Please sign in to comment.