Skip to content
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

bpo-29917: DOC: Remove link from PyMethodDef #890

Merged
merged 6 commits into from
Mar 30, 2017
Merged

bpo-29917: DOC: Remove link from PyMethodDef #890

merged 6 commits into from
Mar 30, 2017

Conversation

csabella
Copy link
Contributor

In C-API, the link target of the "type" struct member is the Python built-in "type".

csabella and others added 6 commits March 28, 2017 12:12
Changed the parameter name from 'number' to 'x' to be consistent with documentation for other numeric functions, such as abs, float, math.floor, and mail.ceil.  The use of 'number' seemed to indicate an object from the Number class, which with PEP 3141 was not valid for round since round is implemented for Real and not Complex.

Not sure about this one, but changed the phrase '*ndigits* digits' to be "*ndigits* precision' to match the help() text.

Moved the delegation line and expanded it to match the similar line in the float() section since that is the only other built-in over the Real class.
bpo-29677: DOC: clarify documentation for `round`
In C-API, The link target of the "type" struct
member is the Python built-in "type".
@mention-bot
Copy link

@csabella, thanks for your PR! By analyzing the history of the files in this pull request, we identified @birkenfeld, @ashemedai and @gpshead to be potential reviewers.

Copy link
Member

@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

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

Change LGTM.

@orsenthil orsenthil merged commit c3c7ef0 into python:master Mar 30, 2017
@orsenthil
Copy link
Member

Will backport to other branches. Thank you, @csabella !

orsenthil added a commit that referenced this pull request Mar 30, 2017
orsenthil added a commit that referenced this pull request Mar 30, 2017
orsenthil added a commit that referenced this pull request Mar 30, 2017
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants