Message348093
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. |
|
Date |
User |
Action |
Args |
2019-07-18 02:13:12 | shiyuchong | set | recipients:
+ shiyuchong, benjamin.peterson, docs@python, josh.r |
2019-07-18 02:13:12 | shiyuchong | set | messageid: <1563415992.61.0.699025803286.issue37602@roundup.psfhosted.org> |
2019-07-18 02:13:12 | shiyuchong | link | issue37602 messages |
2019-07-18 02:13:12 | shiyuchong | create | |
|