This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Windson Yang
Recipients Windson Yang
Date 2018-07-05.06:44:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530773071.47.0.56676864532.issue34049@psf.upfronthosting.co.za>
In-reply-to
Content
Just like callable() method in https://docs.python.org/3/library/functions.html#callable

> ...instances are callable if their class has a __call__() method.

I think we should also mention this in abs(),

abs(x)
Return the absolute value of a number. If x defines __abs__, abs(x) returns x.__abs__(). The argument may be an integer or a floating point number. If the argument is a complex number, its magnitude is returned.
History
Date User Action Args
2018-07-05 06:44:31Windson Yangsetrecipients: + Windson Yang
2018-07-05 06:44:31Windson Yangsetmessageid: <1530773071.47.0.56676864532.issue34049@psf.upfronthosting.co.za>
2018-07-05 06:44:31Windson Yanglinkissue34049 messages
2018-07-05 06:44:30Windson Yangcreate