Skip to content

Commit 908b8b1

Browse files
committed
Fix typos etc...
1 parent 5368259 commit 908b8b1

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

docs/user-guide/builtins.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ response = await fetch("https://example.com", method="POST", body="HELLO").text(
197197

198198
A utility function to convert Python references into their JavaScript
199199
equivalents. For example, a Python dictionary is converted into a JavaScript
200-
object literal (rather than a JavaScript `Map`).
200+
object literal (rather than a JavaScript `Map`), unless a `dict_converter`
201+
is explicitly specified and the runtime is Pyodide.
201202

202203
### `pyscript.ffi.create_proxy`
203204

docs/user-guide/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ examples could be equivalently re-written as:
161161
```
162162

163163
If the source part of the configuration is either a `.zip` or `.tar.gz` file
164-
its destination is a folder path followed by a star (e.g. `/*` or `./dest/*`)
165-
then PyScript will extract the referenced archive automatically into the target
166-
directory in the browser's built in file system.
164+
and its destination is a folder path followed by a star (e.g. `/*` or
165+
`./dest/*`), then PyScript will extract the referenced archive automatically
166+
into the target directory in the browser's built in file system.
167167

168168
!!! warning
169169

docs/user-guide/dom.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ correct and standard manner:
364364
<!doctype html>
365365
<script type="module">
366366
// this utility escapes and unescape HTML chars
367-
import { escape, unescape } from "https://esm.run/html-escape";
368-
// esm.run returns a module ^^^^^^^^^^^^^^^^^^^^^^^^^^^
367+
import { escape, unescape } from "https://esm.run/html-escaper";
368+
// esm.run returns a module ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
369369
console.log(escape("<>"));
370370
// log: "&lt;&gt;"
371371
</script>

0 commit comments

Comments
 (0)