From 17fdd6cf644c7fab21f466391105d18a2839c4c2 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Wed, 9 Mar 2022 20:33:25 -0800 Subject: [PATCH] Fix typo in docs [skip ci] (#2264) --- docs/usage/type-conversions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/type-conversions.md b/docs/usage/type-conversions.md index f878183f5..67bc769a2 100644 --- a/docs/usage/type-conversions.md +++ b/docs/usage/type-conversions.md @@ -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