2014-11-27 13:41 GMT+01:00 Victor Stinner <victor.stin...@gmail.com>: > I am amused about the "/)" suffix in the signature. It happens to all > magic methods.
If I remember correctly, it means that the function does not accept keywords: >>> (3).__lt__(4) True >>> (3).__lt__(value=4) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: wrapper __lt__ doesn't take keyword arguments Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com