Skip to content

Commit e4ccbf1

Browse files
list -> List
1 parent e6c8e4f commit e4ccbf1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

moler/io/io_connection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ def __init__(self, moler_connection: Connection):
5050
:param moler_connection: object of abstract class moler.connection.Connection
5151
"""
5252
super(IOConnection, self).__init__()
53-
self._connect_subscribers :List[Callable] = []
53+
self._connect_subscribers: List[Callable] = []
5454
self._connect_subscribers_lock = Lock()
55-
self._disconnect_subscribers :List[Callable] = []
55+
self._disconnect_subscribers: List[Callable] = []
5656
self._disconnect_subscribers_lock = Lock()
5757
self.moler_connection: Connection = moler_connection
5858
self.__name: str = "UNNAMED_IO_CONNECTION"
@@ -180,7 +180,7 @@ def enable_logging(self) -> None:
180180
"""
181181
self.moler_connection.enable_logging()
182182

183-
def _notify(self, lock: Lock, subscribers: list[Callable]) -> None:
183+
def _notify(self, lock: Lock, subscribers: List[Callable]) -> None:
184184
with lock:
185185
copied_subscribers = subscribers[:]
186186
for subscriber in copied_subscribers:

0 commit comments

Comments
 (0)