Fix typo in docs [skip ci] (#2264)

This commit is contained in:
Hood Chatham 2022-03-09 20:33:25 -08:00 committed by GitHub
parent 114c24d018
commit 17fdd6cf64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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