[Zodb-checkins] CVS: StandaloneZODB/ExtensionClass/src - ExtensionClass.c:1.48.10.1

Fred Drake Jr fdrake@acm.org
Thu, 27 Dec 2001 17:43:24 -0500


Update of /cvs-repository/StandaloneZODB/ExtensionClass/src
In directory cvs.zope.org:/tmp/cvs-serv570/ExtensionClass/src

Modified Files:
      Tag: StandaloneZODB-1_0-branch
	ExtensionClass.c 
Log Message:
Remove some experimental code that was never finished and should not have
been checked in.


=== StandaloneZODB/ExtensionClass/src/ExtensionClass.c 1.48 => 1.48.10.1 ===
 
 static PyObject *
-CCL_getattrne(PyExtensionClass *self, PyObject *oname)
-{
-  PyObject *r=0;
-
-  if ((r=CCL_getattr2(OBJECT(self), oname, 0)))
-    {
-      if (PyFunction_Check(r) || NeedsToBeBound(r))
-        ASSIGN(r,newPMethod(self,r));
-      else if (PyMethod_Check(r) && ! PyMethod_Self(r))
-        ASSIGN(r,newPMethod(self, PyMethod_Function(r)));
-    }
-  return r;
-}
-
-static PyObject *
 CCL_reduce(PyExtensionClass *self, PyObject *args)
 {
   return PyString_FromString(self->tp_name);