From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Mon, 13 Dec 2021 10:04:34 +0000 (+0000) Subject: bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) X-Git-Tag: v3.11.0a4~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=481f3ffdbe40bd19677a1ba0ac2e7cece8949b47;p=thirdparty%2FPython%2Fcpython.git bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) --- diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index 9a1644a97c0a..fce02e280093 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