Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Co-authored-by: David Brochart <[email protected]>
  • Loading branch information
ianthomas23 and davidbrochart committed Feb 26, 2024
1 parent 6447b2e commit 6d69f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/kernelbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ async def process_one(self, wait=True):

if self.control_thread is None and self.control_stream is not None:
# If there isn't a separate control thread then this main thread handles both shell
# and control messages. Before processing a shell message need to flush all control
# and control messages. Before processing a shell message we need to flush all control
# messages and allow them all to be processed.
await asyncio.sleep(0)
self.control_stream.flush()
Expand Down

0 comments on commit 6d69f30

Please sign in to comment.