aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/utils.py b/docs/utils.py
index a4662ba4..9d299ebf 100644
--- a/docs/utils.py
+++ b/docs/utils.py
@@ -107,7 +107,7 @@ def _global_assign_pos(ast_: NodeWithBody, name: str) -> typing.Union[tuple[int,
"""
Find the first instance where the `name` global is defined in `ast_`.
- Top level assignments, and assignments nested in top level ifs are checked.
+ Check top-level assignments and assignments nested in top-level if blocks.
"""
for ast_obj in ast_.body:
if isinstance(ast_obj, ast.Assign):