diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-05-05 11:33:43 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-05-05 11:33:43 (GMT) |
commit | 75f8e35ef41aa6e7c915d99de8bd40be2745955c (patch) | |
tree | cbc72fb0979618f4b31f151d73d7b3bf775fd263 /Misc/NEWS | |
parent | 1434299a991edcb3a2bf604dc139719b2cca5490 (diff) | |
download | cpython-75f8e35ef41aa6e7c915d99de8bd40be2745955c.zip cpython-75f8e35ef41aa6e7c915d99de8bd40be2745955c.tar.gz cpython-75f8e35ef41aa6e7c915d99de8bd40be2745955c.tar.bz2 |
Generalize PySequence_Count() (operator.countOf) to work with iterators.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -23,10 +23,12 @@ Core max() min() reduce() + tuple() (PySequence_Tuple() and PySequence_Fast() in C API) .join() method of strings - tuple() + 'x in y' and 'x not in y' (PySequence_Contains() in C API) + operator.countOf() (PySequence_Count() in C API) XXX TODO zip() - 'x in y' and 'x not in y' + What's New in Python 2.1 (final)? ================================= |