summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-04-24 02:43:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-04-24 02:43:56 (GMT)
commitbe5229ec0453e5ee9d3932e8e532492936a20845 (patch)
tree80cdc806d4f195d174f00422ba61223615d26091 /Doc
parent35e8c4653455ceeac5b49b369b4c11be6096ea17 (diff)
downloadcpython-be5229ec0453e5ee9d3932e8e532492936a20845.zip
cpython-be5229ec0453e5ee9d3932e8e532492936a20845.tar.gz
cpython-be5229ec0453e5ee9d3932e8e532492936a20845.tar.bz2
Removed documentation for future_builtins
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/future_builtins.rst53
-rw-r--r--Doc/library/python.rst1
2 files changed, 0 insertions, 54 deletions
diff --git a/Doc/library/future_builtins.rst b/Doc/library/future_builtins.rst
deleted file mode 100644
index e845fe4..0000000
--- a/Doc/library/future_builtins.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-:mod:`future_builtins` --- Python 3 builtins
-============================================
-
-.. module:: future_builtins
-.. sectionauthor:: Georg Brandl
-.. versionadded:: 2.6
-
-This module provides functions that exist in 2.x, but have different behavior in
-Python 3, so they cannot be put into the 2.x builtin namespace.
-
-Instead, if you want to write code compatible with Python 3 builtins, import
-them from this module, like this::
-
- from future_builtins import map, filter
-
- ... code using Python 3-style map and filter ...
-
-The :program:`2to3` tool that ports Python 2 code to Python 3 will recognize
-this usage and leave the new builtins alone.
-
-.. note::
-
- The Python 3 :func:`print` function is already in the builtins, but cannot be
- accessed from Python 2 code unless you use the appropriate future statement::
-
- from __future__ import print_function
-
-
-Available builtins are:
-
-.. function:: filter(function, iterable)
-
- Works like :func:`itertools.ifilter`.
-
-.. function:: hex(object)
-
- Works like the builtin :func:`hex`, but instead of :meth:`__hex__` it will
- use the :meth:`__index__` method on its argument to get an integer that is
- then converted to hexadecimal.
-
-.. function:: map(function, iterable, ...)
-
- Works like :func:`itertools.imap`.
-
-.. function:: oct(object)
-
- Works like the builtin :func:`oct`, but instead of :meth:`__oct__` it will
- use the :meth:`__index__` method on its argument to get an integer that is
- then converted to hexadecimal.
-
-.. function:: zip(*iterables)
-
- Works like :func:`itertools.izip`.
diff --git a/Doc/library/python.rst b/Doc/library/python.rst
index 379d508..0fdfa53 100644
--- a/Doc/library/python.rst
+++ b/Doc/library/python.rst
@@ -14,7 +14,6 @@ overview:
sys.rst
builtins.rst
- future_builtins.rst
__main__.rst
warnings.rst
contextlib.rst