Skip to content

Commit

Permalink
[3.10] bpo-37602: Clarify that the lib2to3 nonzero fixer changes only…
Browse files Browse the repository at this point in the history
… definitions (GH-30075) (GH-30085)

(cherry picked from commit 481f3ff)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
iritkatriel committed Dec 13, 2021
1 parent e55deaa commit 310bae6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/2to3.rst
Expand Up @@ -333,7 +333,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
Expand Down

0 comments on commit 310bae6

Please sign in to comment.