gh-122431: update error message for negative nelements in readline_append_h…#143075
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
ZeroIntensity
left a comment
There was a problem hiding this comment.
Please add a news entry, as this seems to be user-facing.
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Thanks @cla7aye15I4nd for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…append_history_file` (pythonGH-143075) "positive" -> "non-negative", since zero is included. (cherry picked from commit a273bc9) Co-authored-by: Zheng Yu <dataisland@outlook.com>
…append_history_file` (pythonGH-143075) "positive" -> "non-negative", since zero is included. (cherry picked from commit a273bc9) Co-authored-by: Zheng Yu <dataisland@outlook.com>
|
GH-143090 is a backport of this pull request to the 3.14 branch. |
|
GH-143091 is a backport of this pull request to the 3.13 branch. |
|
Congrats on your first contribution :) |
|
This pull request makes a minor wording correction to an error message in the
readline_append_history_file_implfunction to clarify the requirement for thenelementsparameter.readline_append_history_file_implto state that "nelements must be non-negative" instead of "positive", improving accuracy and clarity. (Modules/readline.c)