commit | 4dafcc4ece09c2a60473bb109513de4e7d2c2b11 | [log] [tgz] |
---|---|---|
author | Jack Diederich <jackdied@gmail.com> | Tue Nov 28 19:15:13 2006 +0000 |
committer | Jack Diederich <jackdied@gmail.com> | Tue Nov 28 19:15:13 2006 +0000 |
tree | 32be8af9dd16e1ea407bf008c92d62f7cd7539bd | |
parent | dfc9d4f7aa38a3961847c034532e39f05a569f54 [diff] [blame] |
- 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
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index 272af86..7b245d1 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py
@@ -94,7 +94,7 @@ ] class TestFailingBool: - def __nonzero__(self): + def __bool__(self): raise RuntimeError class TestFailingIter: