Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ print(header)
<div id="header"></div>
```

Or the children of a tag though an array-line interface:
Or the children of a tag though an array-like interface:

```python
header = div('Test')
Expand Down
4 changes: 2 additions & 2 deletions dominate/dom_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
# sort of bleed into one another...

# The solution is to use a ContextVar - which provides async context local storage.
# We use this to store a unique ID for each async context. We then use thie ID to
# We use this to store a unique ID for each async context. We then use the ID to
# form the key (in _get_thread_context) that is used to index the _with_context defaultdict.
# The presense of this key ensures that each async context has its own stack and doesn't conflict.
# The presence of this key ensures that each async context has its own stack and doesn't conflict.
async_context_id = ContextVar('async_context_id', default = None)

def _get_async_context_id():
Expand Down