From c587235f210b18d6f7f31e746fa5e5e259320c83 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 9 May 2018 01:10:02 -0700 Subject: [PATCH] Fix superfluous if in documentation. (GH-6728) (cherry picked from commit b3c369861b22268dac003eb995951726c972e5ee) Co-authored-by: Julien Palard --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index c3b6385723..2d15001bff 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, -- 2.40.0