diff --git a/docs/using_pyodide_from_javascript.md b/docs/using_pyodide_from_javascript.md index 50234b14f..468c4e78b 100644 --- a/docs/using_pyodide_from_javascript.md +++ b/docs/using_pyodide_from_javascript.md @@ -9,7 +9,7 @@ Iodide](using_pyodide_from_iodide.md). Include `pyodide.js` in your project. This has a single `Promise` object which bootstraps the Python environment: -`languagePluginLoader`. Since this must happen asynchronously, it returns a +`languagePluginLoader`. Since this must happen asynchronously, it is a `Promise`, which you must call `then` on to complete initialization. When the promise resolves, pyodide will have installed a namespace in global scope: `pyodide`.