-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
Move footnote marker closer to the related term, before sentence's ending dot #4518
Conversation
Doc/extending/extending.rst
Outdated
@@ -40,7 +40,7 @@ A Simple Example | |||
|
|||
Let's create an extension module called ``spam`` (the favorite food of Monty | |||
Python fans...) and let's say we want to create a Python interface to the C | |||
library function :c:func:`system`. [#]_ This function takes a null-terminated | |||
library function :c:func:`system`\ [#]_. This function takes a null-terminated |
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.
The \
is not needed. It should just be:
:c:func:`system` [#]_.
Doc/extending/extending.rst
Outdated
@@ -913,11 +913,11 @@ needed. Ownership of a reference can be transferred. There are three ways to | |||
dispose of an owned reference: pass it on, store it, or call :c:func:`Py_DECREF`. | |||
Forgetting to dispose of an owned reference creates a memory leak. | |||
|
|||
It is also possible to :dfn:`borrow` [#]_ a reference to an object. The | |||
It is also possible to :dfn:`borrow`\ [#]_ a reference to an object. The |
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.
The \
is not needed.
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 |
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.
The earlier change request was so trivial, I made the change myself to your branch :) Hope that's ok.
Everything else looks good. Once CI passed, this should be good to merge.
Move footnote markers to be closer to the related terminology: before the end of the sentence, instead of after. (cherry picked from commit cdfe910)
GH-4535 is a backport of this pull request to the 3.6 branch. |
Thanks @lelit and congrats on your first contribution to CPython 🌮 |
GH-4536 is a backport of this pull request to the 2.7 branch. |
Move footnote markers to be closer to the related terminology: before the end of the sentence, instead of after. (cherry picked from commit cdfe910)
Thank you! |
This cures a minor aesthetic issue in the Extending Python section of the documentation.