mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
- patch #1600346 submitted by Tomer Filiba
- Renamed nb_nonzero slots to nb_bool - Renamed __nonzero__ methods to __bool__ - update core, lib, docs, and tests to match
This commit is contained in:
parent
dfc9d4f7aa
commit
4dafcc4ece
31 changed files with 118 additions and 82 deletions
|
@ -990,7 +990,7 @@ class DecimalUsabilityTest(unittest.TestCase):
|
|||
checkSameDec("__mod__", True)
|
||||
checkSameDec("__mul__", True)
|
||||
checkSameDec("__neg__")
|
||||
checkSameDec("__nonzero__")
|
||||
checkSameDec("__bool__")
|
||||
checkSameDec("__pos__")
|
||||
checkSameDec("__pow__", True)
|
||||
checkSameDec("__radd__", True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue