Skip to content

Commit 2106501

Browse files
committed
Mypy fix
1 parent 0641b88 commit 2106501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipykernel/kernelbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def _parent_header(self):
247247
execution_count = 0
248248

249249
# Asyncio lock to ensure only one control queue message is processed at a time.
250-
_control_lock = asyncio.Lock
250+
_control_lock = Instance(asyncio.Lock)
251251

252252
msg_types = [
253253
"execute_request",

0 commit comments

Comments
 (0)