[Python-checkins] Fix superfluous if in documentation. (GH-6728)

Miss Islington (bot) webhook-mailer at python.org
Wed May 9 04:10:15 EDT 2018


https://github.com/python/cpython/commit/6079b607d3fad319f84f0a0174eece44ee6a69b7
commit: 6079b607d3fad319f84f0a0174eece44ee6a69b7
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-05-09T01:10:12-07:00
summary:

Fix superfluous if in documentation. (GH-6728)

(cherry picked from commit b3c369861b22268dac003eb995951726c972e5ee)

Co-authored-by: Julien Palard <julien at palard.fr>

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 9cb6b0e1b5ca..56c1377d1734 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -720,7 +720,7 @@ are always available.  They are listed here in alphabetical order.
    :meth:`x.__int__() <object.__int__>`. If *x* defines
    :meth:`x.__trunc__() <object.__trunc__>` but not
    :meth:`x.__int__() <object.__int__>`, then return
-   if :meth:`x.__trunc__() <object.__trunc__>`.  For floating point numbers,
+   :meth:`x.__trunc__() <object.__trunc__>`.  For floating point numbers,
    this truncates towards zero.
 
    If *x* is not a number or if *base* is given, then *x* must be a string,



More information about the Python-checkins mailing list