From 83356e1ccb145642aa0ff1f9294928303ffbc757 Mon Sep 17 00:00:00 2001 From: haimingZZ Date: Wed, 23 Sep 2026 01:22:13 +0800 Subject: [PATCH 1/2] docs: fix typo 'array-line' -> 'array-like' in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c5f07c..d3cc384 100644 --- a/README.md +++ b/README.md @@ -249,7 +249,7 @@ print(header) ``` -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') From beb5cb417a59c1762829138c8e5213a5a9e49333 Mon Sep 17 00:00:00 2001 From: haimingZZ Date: Wed, 23 Sep 2026 01:27:02 +0800 Subject: [PATCH 2/2] docs: fix 2 comment typos in dominate/dom_tag.py (thie -> the, presense -> presence) --- dominate/dom_tag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dominate/dom_tag.py b/dominate/dom_tag.py index b3becf5..c2b9fd2 100644 --- a/dominate/dom_tag.py +++ b/dominate/dom_tag.py @@ -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():