File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11"""
22store the current version info of the server.
33"""
4+
45from __future__ import annotations
56
67import re
Original file line number Diff line number Diff line change 1111# Imports
1212# -----------------------------------------------------------------------------
1313
14-
1514from typing import Any , Optional
1615
1716from jupyter_client .client import KernelClient
Original file line number Diff line number Diff line change @@ -763,9 +763,9 @@ def run_closure(self: threading.Thread):
763763 for stream in [stdout , stderr ]:
764764 if isinstance (stream , OutStream ):
765765 if parent == kernel_thread_ident :
766- stream ._thread_to_parent_header [
767- self . ident
768- ] = kernel . _new_threads_parent_header
766+ stream ._thread_to_parent_header [self . ident ] = (
767+ kernel . _new_threads_parent_header
768+ )
769769 else :
770770 stream ._thread_to_parent [self .ident ] = parent
771771 _threading_Thread_run (self )
You can’t perform that action at this time.
0 commit comments