bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075)

This commit is contained in:
Irit Katriel 2021-12-13 10:04:34 +00:00 committed by GitHub
parent e08c0d8eec
commit 481f3ffdbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -338,7 +338,8 @@ and off individually. They are described here in more detail.
.. 2to3fixer:: nonzero
Renames :meth:`__nonzero__` to :meth:`~object.__bool__`.
Renames definitions of methods called :meth:`__nonzero__`
to :meth:`~object.__bool__`.
.. 2to3fixer:: numliterals