Skip to content

Commit b0676ed

Browse files
Shrey-Naisk
andauthored
Apply suggestion from @aisk
Co-authored-by: AN Long <aisk@users.noreply.github.com>
1 parent b5527c2 commit b0676ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/multiprocessing/connection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,8 @@ def wait(object_list, timeout=None):
10851085
10861086
Returns list of those objects in object_list which are ready/readable.
10871087
'''
1088+
object_list = list(object_list)
1089+
10881090
if not object_list:
10891091
if timeout is None:
10901092
while True:

0 commit comments

Comments
 (0)