Commit 7b1605d
Fix gen_colors docstring: function yields, not returns a list
The gen_colors function is a generator (uses yield) with return type
Iterator[ColorSpan], but its docstring incorrectly stated "Returns a
list of index spans". Updated to "Yield index spans" to accurately
reflect the function's behavior.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f3a381e commit 7b1605d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments