]> granicus.if.org Git - python/commitdiff
Fix superfluous if in documentation. (GH-6728)
authorJulien Palard <julien@palard.fr>
Wed, 9 May 2018 07:25:22 +0000 (09:25 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 9 May 2018 07:25:22 +0000 (10:25 +0300)
Doc/library/functions.rst

index c3b6385723382ba882727b5651f961b4275a5e42..2d15001bffa7aefbd744ae1dfb4b6901d71f42b0 100644 (file)
@@ -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,