summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-04-02 21:18:34 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-04-02 21:18:34 (GMT)
commit789be0c0a0656d17f831aa781cf7c5d55e5b4835 (patch)
tree8ce796bd726fcbbb4c9f19ae2d3601517ebbee91 /Doc/library/functions.rst
parent48e3fd240fc6338fbcbbc9c1c8a7d118faca924a (diff)
downloadcpython-789be0c0a0656d17f831aa781cf7c5d55e5b4835.zip
cpython-789be0c0a0656d17f831aa781cf7c5d55e5b4835.tar.gz
cpython-789be0c0a0656d17f831aa781cf7c5d55e5b4835.tar.bz2
Issue #2396: backport the memoryview object.
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index c19462c..5ca6e42 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -680,6 +680,13 @@ available. They are listed here in alphabetical order.
Added support for the optional *key* argument.
+.. function:: memoryview(obj)
+ :noindex:
+
+ Return a "memory view" object created from the given argument. See
+ :ref:`typememoryview` for more information.
+
+
.. function:: min(iterable[, args...][key])
With a single argument *iterable*, return the smallest item of a non-empty