]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075)
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Mon, 13 Dec 2021 10:04:34 +0000 (10:04 +0000)
committerGitHub <noreply@github.com>
Mon, 13 Dec 2021 10:04:34 +0000 (10:04 +0000)
Doc/library/2to3.rst

index 9a1644a97c0aea434561b7c1f66187e0c7a8e95c..fce02e2800933015f81e50d19df589eb813a5b9b 100644 (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