]> granicus.if.org Git - python/commitdiff
Fix typo.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 24 Apr 2008 13:17:24 +0000 (13:17 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 24 Apr 2008 13:17:24 +0000 (13:17 +0000)
Modules/_bsddb.c

index 7d05b24ed1d32268cbc59c010cf3830e73e37de2..dc9742725baeadfd5a97297df0807c592c774fc2 100644 (file)
@@ -203,7 +203,7 @@ static PyObject* DBPermissionsError;    /* EPERM  */
 
 staticforward PyTypeObject DB_Type, DBCursor_Type, DBEnv_Type, DBTxn_Type, DBLock_Type;
 
-#ifndef Py_Type
+#ifndef Py_TYPE
 /* for compatibility with Python 2.5 and earlier */
 #define Py_TYPE(ob)              (((PyObject*)(ob))->ob_type)
 #endif