diff Python/bltinmodule.c @ 42665:85c22b4d4455

Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118.
author Travis E. Oliphant <oliphant@enthought.com>
date Sat, 18 Aug 2007 11:21:56 +0000
parents 4d2aa4bfb2d6
children aad17b1ab0c9
line wrap: on
line diff
--- a/Python/bltinmodule.c	Sat Aug 18 00:10:33 2007 +0000
+++ b/Python/bltinmodule.c	Sat Aug 18 11:21:56 2007 +0000
@@ -1704,6 +1704,7 @@
 	SETBUILTIN("basestring",	&PyBaseString_Type);
 	SETBUILTIN("bool",		&PyBool_Type);
 	SETBUILTIN("buffer",		&PyBuffer_Type);
+        SETBUILTIN("memoryview",        &PyMemoryView_Type);
 	SETBUILTIN("bytes",		&PyBytes_Type);
 	SETBUILTIN("classmethod",	&PyClassMethod_Type);
 #ifndef WITHOUT_COMPLEX