Skip to content

Commit 9d5ca94

Browse files
committed
self
1 parent edb45a5 commit 9d5ca94

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

conkernelclient/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def execute(self, code, user_expressions=None, allow_stdin=None, reply=False, su
9494

9595
async def stdin_send(self, msg:dict):
9696
"Send on `stdin_channel` then ping event loop"
97-
kc.stdin_channel.send(msg)
97+
self.stdin_channel.send(msg)
9898
await asyncio.sleep(0)
9999

100100
# %% ../nbs/00_core.ipynb #b828c222

nbs/00_core.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
"\n",
160160
" async def stdin_send(self, msg:dict):\n",
161161
" \"Send on `stdin_channel` then ping event loop\"\n",
162-
" kc.stdin_channel.send(msg)\n",
162+
" self.stdin_channel.send(msg)\n",
163163
" await asyncio.sleep(0)"
164164
]
165165
},

0 commit comments

Comments
 (0)