summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-06 09:23:19 (GMT)
committerGeorg Brandl <georg@python.org>2011-01-06 09:23:19 (GMT)
commit77041b23540764ef0cd4eec4f1368c740daff338 (patch)
treee467e446e45dafc136ee906d9a0d5c32de6f8e85
parente98628d60c6fed3cd668901755605dda6fee6dc6 (diff)
downloadcpython-77041b23540764ef0cd4eec4f1368c740daff338.zip
cpython-77041b23540764ef0cd4eec4f1368c740daff338.tar.gz
cpython-77041b23540764ef0cd4eec4f1368c740daff338.tar.bz2
itertools, operator and functools are not really "numeric" modules; move them into their own "functional" chapter.
-rw-r--r--Doc/library/functional.rst15
-rw-r--r--Doc/library/index.rst1
-rw-r--r--Doc/library/numeric.rst3
3 files changed, 16 insertions, 3 deletions
diff --git a/Doc/library/functional.rst b/Doc/library/functional.rst
new file mode 100644
index 0000000..5b6185a
--- /dev/null
+++ b/Doc/library/functional.rst
@@ -0,0 +1,15 @@
+******************************
+Functional Programming Modules
+******************************
+
+The modules described in this chapter provide functions and classes that support
+a functional programming style, and general operations on callables.
+
+The following modules are documented in this chapter:
+
+
+.. toctree::
+
+ itertools.rst
+ functools.rst
+ operator.rst
diff --git a/Doc/library/index.rst b/Doc/library/index.rst
index 39e0c20..9ac688c 100644
--- a/Doc/library/index.rst
+++ b/Doc/library/index.rst
@@ -49,6 +49,7 @@ the `Python Package Index <http://pypi.python.org/pypi>`_.
strings.rst
datatypes.rst
numeric.rst
+ functional.rst
filesys.rst
persistence.rst
archiving.rst
diff --git a/Doc/library/numeric.rst b/Doc/library/numeric.rst
index 641f588..ba22cb6 100644
--- a/Doc/library/numeric.rst
+++ b/Doc/library/numeric.rst
@@ -23,6 +23,3 @@ The following modules are documented in this chapter:
decimal.rst
fractions.rst
random.rst
- itertools.rst
- functools.rst
- operator.rst