Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-125436: add missing allow_unnamed_section doc; split too long line#125437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Please add aversionchanged
section for theallow_unnamed_section
parameter.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Though, let' not add a new |
litlighilit commentedOct 14, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Yes, it should. After its description there should be a |
picnixz commentedOct 14, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
You may also add the |
litlighilit commentedOct 14, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Both of desc and See if the added desc for I've seen the CI failure but not sure what's up. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
- add space in ref before `<` char of URL to fix compile error;- add `*` to mark keywords (fixup) of ConfigParser;- simpify desc for `allow_unnamed_section` param;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for the changes!
Taking a closer look at the#117273 I've noticed that the classConfigParser
inherits from theRawConfigParser
and therefore parameterallow_unnamed_section
has actually been added to theRawConfigParser
class. Therefore, we need to do two things:
- Update doc for
ConfigParser
(which you have already done!) - Update doc for
RawConfigParser
. Although this class is considered legacy in docs, it would still be useful to update its signature. The section with an explanation whatallow_unnamed_section
is doing unnecessary here.
- apply suggestion frompython#125437 (review)- also update for `versionchanged` for params of RawConfigParser
ping@Eclips4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Sorry for waiting@litlighilit! LGTM. Thank you!
d960226
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@litlighilit for the PR, and@Eclips4 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
… to ``ConfigParser`` documentation (pythonGH-125437)Add missing ``allow_unnamed_section`` parameter to ``ConfigParser`` doc, as well as to it's parent ``RawConfigParser``.Split too long line on ``ConfigParser`` signature.Add some sections about when some of ``RawConfigParser`` parameters were added.(cherry picked from commitd960226)Co-authored-by: lit <litlighilit@foxmail.com>
GH-126421 is a backport of this pull request to the3.13 branch. |
…r to ``ConfigParser`` documentation (GH-125437) (#126421)gh-125436: Doc: Add missing ``allow_unnamed_section`` parameter to ``ConfigParser`` documentation (GH-125437)Add missing ``allow_unnamed_section`` parameter to ``ConfigParser`` doc, as well as to it's parent ``RawConfigParser``.Split too long line on ``ConfigParser`` signature.Add some sections about when some of ``RawConfigParser`` parameters were added.(cherry picked from commitd960226)Co-authored-by: lit <litlighilit@foxmail.com>
… to ``ConfigParser`` documentation (python#125437)Add missing ``allow_unnamed_section`` parameter to ``ConfigParser`` doc, as well as to it's parent ``RawConfigParser``.Split too long line on ``ConfigParser`` signature.Add some sections about when some of ``RawConfigParser`` parameters were added.
… to ``ConfigParser`` documentation (python#125437)Add missing ``allow_unnamed_section`` parameter to ``ConfigParser`` doc, as well as to it's parent ``RawConfigParser``.Split too long line on ``ConfigParser`` signature.Add some sections about when some of ``RawConfigParser`` parameters were added.
Uh oh!
There was an error while loading.Please reload this page.
allow_unnamed_section=False
param #125436📚 Documentation preview 📚:https://cpython-previews--125437.org.readthedocs.build/