Skip to content

Commit 0523351

Browse files
authored
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.
1 parent ccbe41e commit 0523351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The class can be used to simulate nested scopes and is useful in templating.
6868
.. attribute:: maps
6969

7070
A user updateable list of mappings. The list is ordered from
71-
first-searched to last-searched. It is the only stored state and can
71+
first-searched-mapping to last-searched-mapping. It is the only stored state and can
7272
be modified to change which mappings are searched. The list should
7373
always contain at least one mapping.
7474

0 commit comments

Comments
 (0)