Terry J. Reedy <tjre...@udel.edu> 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 <rep...@bugs.python.org> <https://bugs.python.org/issue46732> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com