Skip to content

Doc: Minor fix to C API documentation #21198

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2020
Merged

Conversation

tomerv
Copy link
Contributor

@tomerv tomerv commented Jun 28, 2020

No description provided.

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

Recognized GitHub username

We couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames:

@tomerv

This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review labels Jun 28, 2020
@WildCard65
Copy link
Contributor

WildCard65 commented Jun 28, 2020

@tomerv This pull request requires a bugs.python.org issue number as well as a news file stating the change.
Plus you need to sign the CLA.

Created a BPO issue for you: bpo-41153

@tomerv
Copy link
Contributor Author

tomerv commented Jun 29, 2020

@WildCard65 , I submitted the CLA form immediately after getting the automatic message from @the-knights-who-say-ni . Maybe it takes a while to get through?

Regarding bpo issue and news file, did you have a chance to take a look at the change? It's not a lot more than a typo fix. Filing an issue for it seems like a big overhead. Let me know if it's necessary. Same for the news file - I don't think it's necessary to point out every typo fix in the documentation.

Copy link
Member

@tirkarthi tirkarthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.


Initialize the preconfiguration with :ref:`Python Configuration
<init-python-config>`.

.. c:function:: void PyPreConfig_InitPythonConfig(PyPreConfig *preconfig)
.. c:function:: void PyPreConfig_InitIsolatedConfig(PyPreConfig *preconfig)

Initialize the preconfiguration with :ref:`Isolated Configuration
<init-isolated-conf>`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: I would prefer to exchange the description but keep the function in the alphabetical order :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anti-nitpick: this is consistent with the order for PyConfig functions later in the same file :-)
https://github.com/python/cpython/pull/21198/files#diff-37eacc7b206686c260b26a4fa52ebde4L347

I also like that the more common use case appears first.

@vstinner vstinner merged commit 741008a into python:master Jul 1, 2020
@miss-islington
Copy link
Contributor

Thanks @tomerv for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @tomerv for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-21254 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 1, 2020
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com>
(cherry picked from commit 741008a)

Co-authored-by: tomerv <tomerv@gmail.com>
@bedevere-bot
Copy link

GH-21255 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Jul 1, 2020
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 1, 2020
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com>
(cherry picked from commit 741008a)

Co-authored-by: tomerv <tomerv@gmail.com>
miss-islington added a commit that referenced this pull request Jul 1, 2020
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com>
(cherry picked from commit 741008a)

Co-authored-by: tomerv <tomerv@gmail.com>
miss-islington added a commit that referenced this pull request Jul 1, 2020
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com>
(cherry picked from commit 741008a)

Co-authored-by: tomerv <tomerv@gmail.com>
arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this pull request Jul 21, 2020
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants