Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21017ed commit 2831642Copy full SHA for 2831642
1 file changed
Doc/library/functions.rst
@@ -43,9 +43,8 @@ are always available. They are listed here in alphabetical order.
43
.. function:: abs(x)
44
45
Return the absolute value of a number. The argument may be an
46
- integer or a floating point number. If the argument is a complex number, its
47
- magnitude is returned. If *x* defines :meth:`__abs__`,
48
- ``abs(x)`` returns ``x.__abs__()``.
+ integer, a floating point number, or an object implementing :meth:`__abs__`.
+ If the argument is a complex number, its magnitude is returned.
49
50
51
.. function:: all(iterable)
0 commit comments