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

Serhiy Storchaka webhook-mailer at python.org
Wed May 9 03:25:29 EDT 2018


https://github.com/python/cpython/commit/b3c369861b22268dac003eb995951726c972e5ee
commit: b3c369861b22268dac003eb995951726c972e5ee
branch: master
author: Julien Palard <julien at palard.fr>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-05-09T10:25:22+03:00
summary:

Fix superfluous if in documentation. (GH-6728)

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index c3b638572338..2d15001bffa7 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -734,7 +734,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