Commit 3ae2e33a authored by Windson yang's avatar Windson yang Committed by Raymond Hettinger

classify abs() argument type (GH-8103)

parent e55ca3fd
......@@ -44,7 +44,8 @@ are always available. They are listed here in alphabetical order.
Return the absolute value of a number. The argument may be an
integer or a floating point number. If the argument is a complex number, its
magnitude is returned.
magnitude is returned. If *x* defines :meth:`__abs__`,
``abs(x)`` returns ``x.__abs__()``.
.. function:: all(iterable)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment