Skip to content

Commit

Permalink
correct import
Browse files Browse the repository at this point in the history
  • Loading branch information
recursive-while-loop authored and pelme committed Aug 12, 2024
1 parent cf72699 commit 1f0d597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ without a parent element. This is useful in HTMX partial responses.
You may use `render_node` to achieve this:

```pycon title="Render elements without a parent"
>>> from htpy import render_orphans, tr
>>> from htpy import render_node, tr
>>> print(render_node([tr["a"], tr["b"]]))
<tr>a</tr><tr>b</tr>
```
Expand Down

0 comments on commit 1f0d597

Please sign in to comment.