summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2018-05-09 07:25:22 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-05-09 07:25:22 (GMT)
commitb3c369861b22268dac003eb995951726c972e5ee (patch)
tree7038843ada9110887d5fc3238f2b8092db319412
parentac9240b9be31d073d1b2e50ce53481ff0fc9ed23 (diff)
downloadcpython-b3c369861b22268dac003eb995951726c972e5ee.zip
cpython-b3c369861b22268dac003eb995951726c972e5ee.tar.gz
cpython-b3c369861b22268dac003eb995951726c972e5ee.tar.bz2
Fix superfluous if in documentation. (GH-6728)
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index c3b6385..2d15001 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,