Skip to content

Commit 846531b

Browse files
author
Chilipp
committed
1 parent fd98a18 commit 846531b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ipykernel/inprocess/socket.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def send_multipart(self, msg_parts, flags=0, copy=True, track=False):
6161
self.queue.put_nowait(msg_parts)
6262
self.message_sent += 1
6363

64-
def flush(self):
64+
def flush(self, timeout=1.0):
6565
"""no-op to comply with stream API"""
66+
pass
6667

6768
SocketABC.register(DummySocket)

0 commit comments

Comments
 (0)