[Zodb-checkins] CVS: ZODB3/ExtensionClass/src - ExtensionClass.h:1.18.82.1

Jeremy Hylton jeremy at zope.com
Tue Jul 1 20:16:11 EDT 2003


Update of /cvs-repository/ZODB3/ExtensionClass/src
In directory cvs.zope.org:/tmp/cvs-serv4762/ExtensionClass/src

Modified Files:
      Tag: zodb33-devel-branch
	ExtensionClass.h 
Log Message:
1.5 has come and gone.


=== ZODB3/ExtensionClass/src/ExtensionClass.h 1.18 => 1.18.82.1 ===
--- ZODB3/ExtensionClass/src/ExtensionClass.h:1.18	Mon Aug 26 09:33:01 2002
+++ ZODB3/ExtensionClass/src/ExtensionClass.h	Tue Jul  1 19:16:10 2003
@@ -406,28 +406,6 @@
   PyObject     *meth;
 } PyECMethodObject; /* AKA PMethod */
 
-/* The following is to avoid whining from 1.5 :-) */
-#define PyCObject_Import PyCObject_Import14
-
-static void *
-PyCObject_Import14(char *module_name, char *name)
-{
-  PyObject *m, *c;
-  void *r=NULL;
-  
-  if((m=PyImport_ImportModule(module_name)))
-    {
-      if((c=PyObject_GetAttrString(m,name)))
-	{
-	  r=PyCObject_AsVoidPtr(c);
-	  Py_DECREF(c);
-	}
-      Py_DECREF(m);
-    }
-
-  return r;
-}
-
 #endif
 
 




More information about the Zodb-checkins mailing list