diff --git a/docs/sphinx_pyodide/README.md b/docs/sphinx_pyodide/README.md index cb6d333c8..102eb37a9 100644 --- a/docs/sphinx_pyodide/README.md +++ b/docs/sphinx_pyodide/README.md @@ -81,7 +81,7 @@ We compose `TsAnalyzer` into `PyodideAnalyzer`. This prunes out private functions, marks functions as `async` so we can display `async` in front of them, and organizes functions into our three categories: -- `globalThis`: globaly exposed functions +- `globalThis`: globally exposed functions - `pyodide`: pyodide APIs - `PyProxy`: `PyProxy` APIs diff --git a/docs/usage/keyboard-interrupts.md b/docs/usage/keyboard-interrupts.md index c1d51b1f6..83759a820 100644 --- a/docs/usage/keyboard-interrupts.md +++ b/docs/usage/keyboard-interrupts.md @@ -67,7 +67,7 @@ self.addEventListener("message", (msg) => { The interrupt system above allows interruption of Python code and also of C code that opts to allow itself to be interrupted by periodically calling `PyErr_CheckSignals`. There is also a function {any}`pyodide.checkInterrupt` that -allows JavasSript functions called from Python to check for an interrupt. As a +allows JavaScript functions called from Python to check for an interrupt. As a simple example, we can implement an interruptible sleep function using `Atomics.wait`: