mirror of
https://github.com/python/cpython.git
synced 2025-10-01 12:52:18 +00:00
Fix superfluous if in documentation. (GH-6728)
(cherry picked from commit b3c369861b
)
Co-authored-by: Julien Palard <julien@palard.fr>
This commit is contained in:
parent
a0ff51964f
commit
c587235f21
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ are always available. They are listed here in alphabetical order.
|
||||||
:meth:`x.__int__() <object.__int__>`. If *x* defines
|
:meth:`x.__int__() <object.__int__>`. If *x* defines
|
||||||
:meth:`x.__trunc__() <object.__trunc__>` but not
|
:meth:`x.__trunc__() <object.__trunc__>` but not
|
||||||
:meth:`x.__int__() <object.__int__>`, then return
|
: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.
|
this truncates towards zero.
|
||||||
|
|
||||||
If *x* is not a number or if *base* is given, then *x* must be a string,
|
If *x* is not a number or if *base* is given, then *x* must be a string,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue