[Python-checkins] cpython (2.7): note that future_builtin's map is not quite like python 3's (closes #19363)

benjamin.peterson python-checkins at python.org
Sun Mar 9 20:01:26 CET 2014


http://hg.python.org/cpython/rev/16c5d7c289c6
changeset:   89526:16c5d7c289c6
branch:      2.7
parent:      89519:de632ccaffd6
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Mar 09 14:01:09 2014 -0500
summary:
  note that future_builtin's map is not quite like python 3's (closes #19363)

Patch by Gareth Rees.

files:
  Doc/library/future_builtins.rst |  5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Doc/library/future_builtins.rst b/Doc/library/future_builtins.rst
--- a/Doc/library/future_builtins.rst
+++ b/Doc/library/future_builtins.rst
@@ -50,6 +50,11 @@
 
    Works like :func:`itertools.imap`.
 
+   .. note::
+
+      In Python 3, :func:`map` does not accept ``None`` for the
+      function argument.
+
 .. function:: oct(object)
 
    Works like the built-in :func:`oct`, but instead of :meth:`__oct__` it will

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list