]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 13 Dec 2021 10:45:55 +0000 (02:45 -0800)
committerGitHub <noreply@github.com>
Mon, 13 Dec 2021 10:45:55 +0000 (10:45 +0000)
(cherry picked from commit 481f3ffdbe40bd19677a1ba0ac2e7cece8949b47)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Doc/library/2to3.rst

index 1d7bd262872905654cd67049dce165955b17356a..36c051db50dcac54cb1c8eedc32c0bd35da737d7 100644 (file)
@@ -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