Skip to content

Commit 06ed996

Browse files
rhettingergpshead
andauthored
Update Lib/threading.py
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
1 parent 4802517 commit 06ed996

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/threading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ def concurrent_tee(iterable, n=2):
941941
942942
The new iterators are only thread-safe if consumed within a single thread.
943943
To share just one of the new iterators across multiple threads, wrap it
944-
with threading.serialize().
944+
with threading.serialize_iterator().
945945
"""
946946

947947
if n < 0:

0 commit comments

Comments
 (0)