[Zope-Checkins] CVS: StandaloneZODB/ExtensionClass/src - ExtensionClass.c:1.48.16.1

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


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

Modified Files:
      Tag: Standby-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.16.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);