From 34867ace67b8bd1f60635c801b82c0fe0557b071 Mon Sep 17 00:00:00 2001 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: Wed, 27 Dec 2023 20:11:26 +0000 Subject: [PATCH] Lint --- ipykernel/ipkernel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipykernel/ipkernel.py b/ipykernel/ipkernel.py index e3363730..65a2d574 100644 --- a/ipykernel/ipkernel.py +++ b/ipykernel/ipkernel.py @@ -750,7 +750,7 @@ def run_closure(self: threading.Thread): """ try: - parent = self._ipykernel_parent_thread_ident + parent = self._ipykernel_parent_thread_ident # type:ignore[attr-defined] except AttributeError: return for stream in [stdout, stderr]: @@ -765,7 +765,7 @@ def run_closure(self: threading.Thread): def init_closure(self: threading.Thread, *args, **kwargs): _threading_Thread__init__(self, *args, **kwargs) - self._ipykernel_parent_thread_ident = threading.get_ident() # type:ignore[method-assign] + self._ipykernel_parent_thread_ident = threading.get_ident() # type:ignore[attr-defined] threading.Thread.__init__ = init_closure # type:ignore[method-assign] threading.Thread.run = run_closure # type:ignore[method-assign]