Terry J. Reedy <[email protected]> added the comment:
There is no object.__bool__. None.__bool__.__doc__ appears to be an accidental copy of bool/int/float/complex.__bool__.__doc__. It should just be 'False'. ---------- nosy: +terry.reedy title: object.__bool__ docstring is wrong -> None.__bool__ docstring is wrong _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue46732> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
