Fix superfluous if in documentation. (GH-6728)

This commit is contained in:
Julien Palard 2018-05-09 09:25:22 +02:00 committed by Serhiy Storchaka
parent ac9240b9be
commit b3c369861b

View 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,