Skip to content

Commit 80eb8ab

Browse files
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) (GH-30083)
(cherry picked from commit 481f3ff) Co-authored-by: Irit Katriel <[email protected]>
1 parent 80f98b1 commit 80eb8ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/2to3.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,8 @@ and off individually. They are described here in more detail.
333333
334334
.. 2to3fixer:: nonzero
335335
336-
Renames :meth:`__nonzero__` to :meth:`~object.__bool__`.
336+
Renames definitions of methods called :meth:`__nonzero__`
337+
to :meth:`~object.__bool__`.
337338
338339
.. 2to3fixer:: numliterals
339340

0 commit comments

Comments
 (0)