Skip to content

Commit fbeaa97

Browse files
committed
Update further to ipykernel comm refatoring
1 parent e764044 commit fbeaa97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/comms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ containing Javascript to connect to it.
7878
# Send data to the frontend on creation
7979
comm.send({'foo': 5})
8080
81-
get_ipython().kernel.comm_manager.register_target('my_comm_target', target_func)
81+
get_ipython().comm.comm_manager.register_target('my_comm_target', target_func)
8282
8383
This example uses the IPython kernel again; this example will be different in
8484
other kernels that support comms. Refer to the specific language kernel's

notebook/tests/services/serialize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ casper.notebook_test(function () {
3333
this.then(function () {
3434
var index = this.append_cell([
3535
"import os",
36-
"from IPython.kernel.comm import Comm",
36+
"from IPython.comm.comm import Comm",
3737
"comm = Comm(target_name='echo')",
3838
"msgs = []",
3939
"def on_msg(msg):",

0 commit comments

Comments
 (0)