diff --git a/ipykernel/subshell_manager.py b/ipykernel/subshell_manager.py index 31e4dd1d..c245816b 100644 --- a/ipykernel/subshell_manager.py +++ b/ipykernel/subshell_manager.py @@ -67,7 +67,7 @@ def __init__( @property def _control_shell_channel_socket(self) -> zmq_anyio.Socket: - if self.__control_shell_channel_socket is None: + if self.__control_shell_channel_socket is None: self.__control_shell_channel_socket = self._create_inproc_pair_socket("control", True) return self.__control_shell_channel_socket @@ -75,7 +75,7 @@ def _control_shell_channel_socket(self) -> zmq_anyio.Socket: def _control_other_socket(self) -> zmq_anyio.Socket: if self.__control_other_socket is None: self.__control_other_socket = self._create_inproc_pair_socket("control", False) - return self.__control_other_socket + return self.__control_other_socket @property def _parent_shell_channel_socket(self) -> zmq_anyio.Socket: