diff options
author | Jack Diederich <jackdied@gmail.com> | 2006-11-28 19:15:13 (GMT) |
---|---|---|
committer | Jack Diederich <jackdied@gmail.com> | 2006-11-28 19:15:13 (GMT) |
commit | 4dafcc4ece09c2a60473bb109513de4e7d2c2b11 (patch) | |
tree | 32be8af9dd16e1ea407bf008c92d62f7cd7539bd /Include | |
parent | dfc9d4f7aa38a3961847c034532e39f05a569f54 (diff) | |
download | cpython-4dafcc4ece09c2a60473bb109513de4e7d2c2b11.zip cpython-4dafcc4ece09c2a60473bb109513de4e7d2c2b11.tar.gz cpython-4dafcc4ece09c2a60473bb109513de4e7d2c2b11.tar.bz2 |
- 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
Diffstat (limited to 'Include')
-rw-r--r-- | Include/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h index 80447a9..83a2c54 100644 --- a/Include/object.h +++ b/Include/object.h @@ -160,7 +160,7 @@ typedef struct { unaryfunc nb_negative; unaryfunc nb_positive; unaryfunc nb_absolute; - inquiry nb_nonzero; + inquiry nb_bool; unaryfunc nb_invert; binaryfunc nb_lshift; binaryfunc nb_rshift; |