[Python-3000-checkins] r56947 - python/branches/py3k-buffer/Objects/memoryobject.c

neal.norwitz python-3000-checkins at python.org
Sun Aug 12 06:45:33 CEST 2007


Author: neal.norwitz
Date: Sun Aug 12 06:45:32 2007
New Revision: 56947

Modified:
   python/branches/py3k-buffer/Objects/memoryobject.c
Log:
Fix object initialization

Modified: python/branches/py3k-buffer/Objects/memoryobject.c
==============================================================================
--- python/branches/py3k-buffer/Objects/memoryobject.c	(original)
+++ python/branches/py3k-buffer/Objects/memoryobject.c	Sun Aug 12 06:45:32 2007
@@ -501,8 +501,7 @@
 
 
 PyTypeObject PyMemoryView_Type = {
-	PyObject_HEAD_INIT(NULL)
-        0,
+	PyVarObject_HEAD_INIT(&PyType_Type, 0)
 	"memoryview",
 	sizeof(PyMemoryViewObject),
 	0,


More information about the Python-3000-checkins mailing list