Skip to content

Move footnote marker closer to the related term, before sentence's ending dot#4518

Merged
Mariatta merged 2 commits into
python:masterfrom
lelit:cosmetic-rst-markup-fix
Nov 24, 2017
Merged

Move footnote marker closer to the related term, before sentence's ending dot#4518
Mariatta merged 2 commits into
python:masterfrom
lelit:cosmetic-rst-markup-fix

Conversation

@lelit
Copy link
Copy Markdown
Contributor

@lelit lelit commented Nov 23, 2017

This cures a minor aesthetic issue in the Extending Python section of the documentation.

Comment thread Doc/extending/extending.rst Outdated
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
Copy link
Copy Markdown
Member

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` [#]_.

Comment thread Doc/extending/extending.rst Outdated
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The \ is not needed.

@bedevere-bot
Copy link
Copy Markdown

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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Copy link
Copy Markdown
Member

@Mariatta Mariatta left a 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.

@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @lelit for the PR, and @Mariatta for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 24, 2017
Move footnote markers to be closer to the related terminology:
before the end of the sentence, instead of after.
(cherry picked from commit cdfe910)
@bedevere-bot
Copy link
Copy Markdown

GH-4535 is a backport of this pull request to the 3.6 branch.

@Mariatta
Copy link
Copy Markdown
Member

Thanks @lelit and congrats on your first contribution to CPython 🌮

@bedevere-bot
Copy link
Copy Markdown

GH-4536 is a backport of this pull request to the 2.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 24, 2017
Move footnote markers to be closer to the related terminology:
before the end of the sentence, instead of after.
(cherry picked from commit cdfe910)
Mariatta pushed a commit that referenced this pull request Nov 24, 2017
Move footnote markers to be closer to the related terminology:
before the end of the sentence, instead of after.
(cherry picked from commit cdfe910)
Mariatta pushed a commit that referenced this pull request Nov 24, 2017
Move footnote markers to be closer to the related terminology:
before the end of the sentence, instead of after.
(cherry picked from commit cdfe910)
@lelit lelit deleted the cosmetic-rst-markup-fix branch November 24, 2017 14:16
@lelit
Copy link
Copy Markdown
Contributor Author

lelit commented Nov 24, 2017

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants