From: Julien Palard Date: Wed, 9 May 2018 07:25:22 +0000 (+0200) Subject: Fix superfluous if in documentation. (GH-6728) X-Git-Tag: v3.8.0a1~1880 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3c369861b22268dac003eb995951726c972e5ee;p=thirdparty%2FPython%2Fcpython.git Fix superfluous if in documentation. (GH-6728) --- 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__() `. If *x* defines :meth:`x.__trunc__() ` but not :meth:`x.__int__() `, then return - if :meth:`x.__trunc__() `. For floating point numbers, + :meth:`x.__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,