mirror of https://github.com/pyodide/pyodide.git
Fix typo in docs [skip ci] (#2264)
This commit is contained in:
parent
114c24d018
commit
17fdd6cf64
|
@ -437,7 +437,7 @@ from pyodide import create_proxy
|
|||
from js import document
|
||||
def my_callback():
|
||||
print("hi")
|
||||
proxy = document.create_proxy(my_callback)
|
||||
proxy = pyodide.create_proxy(my_callback)
|
||||
document.body.addEventListener("click", proxy)
|
||||
# ...
|
||||
# make sure to hold on to proxy
|
||||
|
|
Loading…
Reference in New Issue