summaryrefslogtreecommitdiffstats
path: root/Python
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 /Python
parent48e3fd240fc6338fbcbbc9c1c8a7d118faca924a (diff)
downloadcpython-789be0c0a0656d17f831aa781cf7c5d55e5b4835.zip
cpython-789be0c0a0656d17f831aa781cf7c5d55e5b4835.tar.gz
cpython-789be0c0a0656d17f831aa781cf7c5d55e5b4835.tar.bz2
Issue #2396: backport the memoryview object.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 4d7dec1..0f3392a5 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2573,7 +2573,7 @@ _PyBuiltin_Init(void)
SETBUILTIN("True", Py_True);
SETBUILTIN("basestring", &PyBaseString_Type);
SETBUILTIN("bool", &PyBool_Type);
- /* SETBUILTIN("memoryview", &PyMemoryView_Type); */
+ SETBUILTIN("memoryview", &PyMemoryView_Type);
SETBUILTIN("bytearray", &PyByteArray_Type);
SETBUILTIN("bytes", &PyString_Type);
SETBUILTIN("buffer", &PyBuffer_Type);