Commit df720b1
Fix documentation prose made stale by the dict conversions
Review findings from PR #233:
- TupleManager's docstring referred to "the tuple constants", which no
longer exist; note the name is historical instead
- The :param regexes: docstring named the wrong wrapper (TupleManager
instead of RegexTupleManager, whose EMPTY_REGEX fallback is
behaviorally significant) and used a self-referential xref; point it
at ~regexes.REGEXES like the sibling capitalization entry
- :type regexes: now says (name, compiled pattern) so readers know the
values must be re.Pattern objects
- AGENTS.md said every config module defines a set and described
regexes.py as wrapped in a TupleManager; two modules now define dicts
and the wrapping happens in Constants, with RegexTupleManager
- The CAPITALIZATION_EXCEPTIONS release-log entry was missing its
reference (#233), violating the documented release-log convention
- customize.rst promised add()/remove() on every constant; scope that
to the set-valued ones and note dicts use normal dict operations
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 3f1c206 commit df720b1
4 files changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| |||
276 | 278 | | |
277 | 279 | | |
278 | 280 | | |
279 | | - | |
| 281 | + | |
280 | 282 | | |
281 | | - | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
| |||
0 commit comments