Clarify that filter and map stay but will return iterators.

This commit is contained in:
Guido van Rossum 2007-05-18 14:44:56 +00:00
parent de0c02d370
commit e629017f4e
1 changed files with 1 additions and 3 deletions

View File

@ -167,7 +167,7 @@ Built-in Namespace
==================
* Make built-ins return an iterator where appropriate (e.g. ``range()``,
``zip()``, etc.) [zip is done; Neal Norwitz has a patch for range()]
``zip()``, ``map()``, ``filter()``, etc.) [zip and range: done]
* Relevant functions should consume iterators (e.g. ``min()``,
``max()``) [They already do, since 2.2.]
* Remove ``input()`` and rename ``raw_input()`` to ``input()``.
@ -186,8 +186,6 @@ To be removed:
* ``coerce()``: no longer needed [2]_
* ``execfile()``, ``reload()``: use ``exec()`` [2]_
* ``intern()``: put in ``sys`` [2]_, [22]_ [done]
* ``map()``, ``filter()``: use list comprehensions instead??? [1]_, [9]_
(Actually these can stay.)
* ``reduce()``: write a loop instead [2]_, [9]_ [done]
* ``xrange()``: use ``range()`` instead [1]_ [See range() above]