We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14264a9 commit c49820eCopy full SHA for c49820e
Lib/test/support/interpreters.py
@@ -203,12 +203,12 @@ class SendChannel(_ChannelEnd):
203
204
_end = 'send'
205
206
- def send(self, obj):
+ def send(self, obj, timeout=None):
207
"""Send the object (i.e. its data) to the channel's receiving end.
208
209
This blocks until the object is received.
210
"""
211
- _channels.send(self._id, obj, blocking=True)
+ _channels.send(self._id, obj, timeout=timeout)
212
213
def send_nowait(self, obj):
214
"""Send the object to the channel's receiving end.
0 commit comments