diff options
author | Alex Martelli <aleaxit@gmail.com> | 2003-04-22 08:12:33 (GMT) |
---|---|---|
committer | Alex Martelli <aleaxit@gmail.com> | 2003-04-22 08:12:33 (GMT) |
commit | a70b19147fd163744be34745d393af7be603629f (patch) | |
tree | 8ec1a2ae14cfae5fb3a3f14af05a9c9f60b3d739 /Misc/NEWS | |
parent | 060641d51160f6bf49a049bb677f8412b5a19de3 (diff) | |
download | cpython-a70b19147fd163744be34745d393af7be603629f.zip cpython-a70b19147fd163744be34745d393af7be603629f.tar.gz cpython-a70b19147fd163744be34745d393af7be603629f.tar.bz2 |
Adding new built-in function sum, with docs and tests.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 2.3 beta 1? Core and builtins ----------------- +- New builtin function sum(seq, start=0) returns the sum of all the + items in iterable object seq, plus start (items are normally numbers, + and cannot be strings). + - bool() called without arguments now returns False rather than raising an exception. This is consistent with calling the constructors for the other builtin types -- called without argument |