mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075)
This commit is contained in:
parent
e08c0d8eec
commit
481f3ffdbe
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue