gh-156614: Fix function parameter grammar in documentation - #156622
gh-156614: Fix function parameter grammar in documentation#156622StanFromIreland merged 3 commits into
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 |
Documentation build overview
8 files changed ·
|
There was a problem hiding this comment.
I still see changes in this file?
There was a problem hiding this comment.
You removed a news entry but I still see changes that need to be reverted in topics.py?
653120d to
93801aa
Compare
|
Thanks @challenge456 for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @challenge456 for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @challenge456 for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-156671 is a backport of this pull request to the 3.13 branch. |
|
GH-156672 is a backport of this pull request to the 3.14 branch. |
|
GH-156673 is a backport of this pull request to the 3.15 branch. |
|
Merged, thanks. |
gh-156614: Fix function parameter grammar in documentation
The language reference incorrectly documents the parameter following a
bare
*as optional inparameter_list_starargs.This change makes
star_parameterrequired in the documentation grammarto match the actual CPython grammar and parser behavior.
The generated
Lib/pydoc_data/topics.pyfile has also been updated.Tests:
PCbuild\amd64\python.exe -m test test_syntax