diff Python/bltinmodule.c @ 43487:8c10aac37037

Breaking ground for PEP 3137 implementation: Get rid of buffer(). Use memoryview() in its place where possible. In a few places, do things a bit different, because memoryview() can't slice (yet).
author Guido van Rossum <guido@python.org>
date Mon, 08 Oct 2007 02:46:15 +0000
parents a311ab2fc1a7
children 19319e70fc3e
line wrap: on
line diff
--- a/Python/bltinmodule.c	Sun Oct 07 23:12:41 2007 +0000
+++ b/Python/bltinmodule.c	Mon Oct 08 02:46:15 2007 +0000
@@ -1787,8 +1787,7 @@
 	SETBUILTIN("True",		Py_True);
 	SETBUILTIN("basestring",	&PyBaseString_Type);
 	SETBUILTIN("bool",		&PyBool_Type);
-	SETBUILTIN("buffer",		&PyBuffer_Type);
-        SETBUILTIN("memoryview",        &PyMemoryView_Type);
+	SETBUILTIN("memoryview",        &PyMemoryView_Type);
 	SETBUILTIN("bytes",		&PyBytes_Type);
 	SETBUILTIN("classmethod",	&PyClassMethod_Type);
 #ifndef WITHOUT_COMPLEX