[issue37602] nonzero fixer problem

徐靖 report at bugs.python.org
Wed Jul 17 22:13:12 EDT 2019


徐靖 <shiyuchongf at 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 at python
components: +Documentation
nosy: +docs at python

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37602>
_______________________________________


More information about the Python-bugs-list mailing list