From 052335171312b72135bb55b00649e1a839e9fccd Mon Sep 17 00:00:00 2001 From: r-arimura7 <17513415+r-arimura7@users.noreply.github.com> Date: Sun, 1 Feb 2026 12:22:32 +0900 Subject: [PATCH] Clearer description of elements regarding mapping order The original wording of 'The list is ordered from first-searched to last-searched' contains a slight ambiguity hence adds cognitive load for a reader, e.g., 'first-searched [...What?]'. This fixes "dangling modifier" (adjective without a noun) and decreases the cognitive load with the cost of adding one word with hyphen. It also designates the elements to 'mapping' which is consistent with the preceding sentence: "A user updateable list of mappings. " , which should benefit readers as well. --- Doc/library/collections.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 4e0db485e068a8..d90d083db43466 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -68,7 +68,7 @@ The class can be used to simulate nested scopes and is useful in templating. .. attribute:: maps A user updateable list of mappings. The list is ordered from - first-searched to last-searched. It is the only stored state and can + first-searched-mapping to last-searched-mapping. It is the only stored state and can be modified to change which mappings are searched. The list should always contain at least one mapping.