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-29677: DOC: clarify documentation for round #877

Merged
merged 4 commits into from
Mar 29, 2017
Merged

bpo-29677: DOC: clarify documentation for round #877

merged 4 commits into from
Mar 29, 2017

Commits on Mar 28, 2017

  1. bpo-29677: DOC: clarify documentation for round

    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.
    csabella committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    d8a41c6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from csabella/csabella-patch-1

    bpo-29677: DOC: clarify documentation for `round`
    csabella committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    d065d71 View commit details
    Browse the repository at this point in the history
  3. Update functions.rst

    csabella committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    89347b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4586a8a View commit details
    Browse the repository at this point in the history