-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
Conversation
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 usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: 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! |
@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. |
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.
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>`. |
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.
nitpick: I would prefer to exchange the description but keep the function in the alphabetical order :-)
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.
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.
GH-21254 is a backport of this pull request to the 3.8 branch. |
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com> (cherry picked from commit 741008a) Co-authored-by: tomerv <tomerv@gmail.com>
GH-21255 is a backport of this pull request to the 3.9 branch. |
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com> (cherry picked from commit 741008a) Co-authored-by: tomerv <tomerv@gmail.com>
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com> (cherry picked from commit 741008a) Co-authored-by: tomerv <tomerv@gmail.com>
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com> (cherry picked from commit 741008a) Co-authored-by: tomerv <tomerv@gmail.com>
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com>
No description provided.