File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -211,12 +211,12 @@ def send_nowait(self, obj):
211
211
# See bpo-32604 and gh-19829.
212
212
return _channels .send (self ._id , obj )
213
213
214
- def send_buffer (self , obj , timeout = None ):
214
+ def send_buffer (self , obj ):
215
215
"""Send the object's buffer to the channel's receiving end.
216
216
217
217
This blocks until the object is received.
218
218
"""
219
- _channels .send_buffer (self ._id , obj , timeout = timeout )
219
+ _channels .send_buffer (self ._id , obj )
220
220
221
221
def send_buffer_nowait (self , obj ):
222
222
"""Send the object's buffer to the channel's receiving end.
@@ -225,7 +225,6 @@ def send_buffer_nowait(self, obj):
225
225
(else False). Otherwise this is the same as send().
226
226
"""
227
227
return _channels .send_buffer (self ._id , obj )
228
- #return _channels.send_buffer(self._id, obj, blocking=False)
229
228
230
229
def close (self ):
231
230
_channels .close (self ._id , send = True )
You can’t perform that action at this time.
0 commit comments