summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-12-13 10:04:34 +0000
committerGitHub <noreply@github.com>2021-12-13 10:04:34 +0000
commit481f3ffdbe40bd19677a1ba0ac2e7cece8949b47 (patch)
tree66a4b33093a59126ee415fc1953c4a7303f89805
parente08c0d8eec528f1d7a282ee19bcadb9aae9ec123 (diff)
downloadcpython-git-481f3ffdbe40bd19677a1ba0ac2e7cece8949b47.tar.gz
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075)
-rw-r--r--Doc/library/2to3.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index 9a1644a97c..fce02e2800 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -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