Repository navigation
Commit b8eded2
committed
Align version directive helper signatures
1. Review finding: the documented versionadded and versionchanged examples passed the version as a positional argument, but the helper signatures treated that positional argument as the reason, causing versionadded to raise ValueError and versionchanged to conflict with reason=.\n\n2. Suggested fix implemented in this commit: change versionadded and versionchanged to accept version as the first positional parameter while preserving the existing keyword-based call sites used by the PR.1 parent d0606ff commit b8eded2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments