徐靖 <shiyucho...@gmail.com> added the comment: Got it. I am just testing all changes in Python 3.X (in preparation for a project porting to 3.7 before I have permission to view the source code), and call __nonzero__() directly for testing. So maybe I cannot provide an example. I did not realize that it should not be called directly. Still, I recommend a documentation change to explain this fact, telling readers the fixer will not change the usage of __nonzero__(). Thanks for your reply.
---------- assignee: -> docs@python components: +Documentation nosy: +docs@python _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37602> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com