Commit fb1df733 authored by Jim Fulton's avatar Jim Fulton

*** empty log message ***

parent f628ffe0
/* /*
$Id: Acquisition.c,v 1.3 1997/02/19 22:30:33 jim Exp $ $Id: Acquisition.c,v 1.4 1997/02/20 00:55:29 jim Exp $
Acquisition Wrappers -- Implementation of acquisition through wrappers Acquisition Wrappers -- Implementation of acquisition through wrappers
...@@ -59,6 +59,9 @@ ...@@ -59,6 +59,9 @@
Full description Full description
$Log: Acquisition.c,v $ $Log: Acquisition.c,v $
Revision 1.4 1997/02/20 00:55:29 jim
*** empty log message ***
Revision 1.3 1997/02/19 22:30:33 jim Revision 1.3 1997/02/19 22:30:33 jim
Added $#@! missing static declaration. Added $#@! missing static declaration.
...@@ -229,7 +232,7 @@ Wrapper_getattro(Wrapper *self, PyObject *oname) ...@@ -229,7 +232,7 @@ Wrapper_getattro(Wrapper *self, PyObject *oname)
else if(PyECMethod_Check(r) && PyECMethod_Self(r)==self->obj) else if(PyECMethod_Check(r) && PyECMethod_Self(r)==self->obj)
ASSIGN(r,PyECMethod_New(r,(PyObject*)self)); ASSIGN(r,PyECMethod_New(r,(PyObject*)self));
else if(has__of__(r)) else if(has__of__(r))
ASSIGN(r,CallMethodO(r,py__of__,Build("O", self), NULL)); ASSIGN(r,CallMethodO(r,py__of__,Build("(O)", self), NULL));
return r; return r;
} }
if(self->obj) PyErr_Clear(); if(self->obj) PyErr_Clear();
...@@ -536,7 +539,7 @@ void ...@@ -536,7 +539,7 @@ void
initAcquisition() initAcquisition()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.3 $"; char *rev="$Revision: 1.4 $";
PURE_MIXIN_CLASS(Acquirer, PURE_MIXIN_CLASS(Acquirer,
"Base class for objects that acquire attributes from containers\n" "Base class for objects that acquire attributes from containers\n"
, Acquirer_methods); , Acquirer_methods);
......
/* /*
$Id: Xaq.c,v 1.2 1997/02/19 22:30:22 jim Exp $ $Id: Xaq.c,v 1.3 1997/02/20 00:55:38 jim Exp $
Acquisition Wrappers -- Implementation of acquisition through wrappers Acquisition Wrappers -- Implementation of acquisition through wrappers
...@@ -59,6 +59,9 @@ ...@@ -59,6 +59,9 @@
Full description Full description
$Log: Xaq.c,v $ $Log: Xaq.c,v $
Revision 1.3 1997/02/20 00:55:38 jim
*** empty log message ***
Revision 1.2 1997/02/19 22:30:22 jim Revision 1.2 1997/02/19 22:30:22 jim
Added $#@! missing static declaration. Added $#@! missing static declaration.
...@@ -226,7 +229,7 @@ Wrapper_getattro(Wrapper *self, PyObject *oname) ...@@ -226,7 +229,7 @@ Wrapper_getattro(Wrapper *self, PyObject *oname)
else if(PyECMethod_Check(r) && PyECMethod_Self(r)==self->obj) else if(PyECMethod_Check(r) && PyECMethod_Self(r)==self->obj)
ASSIGN(r,PyECMethod_New(r,(PyObject*)self)); ASSIGN(r,PyECMethod_New(r,(PyObject*)self));
else if(has__of__(r)) else if(has__of__(r))
ASSIGN(r,CallMethodO(r,py__of__,Build("O", self), NULL)); ASSIGN(r,CallMethodO(r,py__of__,Build("(O)", self), NULL));
return r; return r;
} }
if(self->obj) PyErr_Clear(); if(self->obj) PyErr_Clear();
...@@ -283,7 +286,7 @@ Wrapper_acquire(Wrapper *self, PyObject *oname) ...@@ -283,7 +286,7 @@ Wrapper_acquire(Wrapper *self, PyObject *oname)
else if(PyECMethod_Check(r) && PyECMethod_Self(r)==self->obj) else if(PyECMethod_Check(r) && PyECMethod_Self(r)==self->obj)
ASSIGN(r,PyECMethod_New(r,(PyObject*)self)); ASSIGN(r,PyECMethod_New(r,(PyObject*)self));
else if(has__of__(r)) else if(has__of__(r))
ASSIGN(r,CallMethodO(r,py__of__,Build("O", self), NULL)); ASSIGN(r,CallMethodO(r,py__of__,Build("(O)", self), NULL));
return r; return r;
} }
if(self->obj) PyErr_Clear(); if(self->obj) PyErr_Clear();
...@@ -606,7 +609,7 @@ void ...@@ -606,7 +609,7 @@ void
initXaq() initXaq()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.2 $"; char *rev="$Revision: 1.3 $";
PURE_MIXIN_CLASS(Acquirer, PURE_MIXIN_CLASS(Acquirer,
"Base class for objects that acquire attributes from containers\n" "Base class for objects that acquire attributes from containers\n"
, Acquirer_methods); , Acquirer_methods);
......
/* /*
$Id: Acquisition.c,v 1.3 1997/02/19 22:30:33 jim Exp $ $Id: Acquisition.c,v 1.4 1997/02/20 00:55:29 jim Exp $
Acquisition Wrappers -- Implementation of acquisition through wrappers Acquisition Wrappers -- Implementation of acquisition through wrappers
...@@ -59,6 +59,9 @@ ...@@ -59,6 +59,9 @@
Full description Full description
$Log: Acquisition.c,v $ $Log: Acquisition.c,v $
Revision 1.4 1997/02/20 00:55:29 jim
*** empty log message ***
Revision 1.3 1997/02/19 22:30:33 jim Revision 1.3 1997/02/19 22:30:33 jim
Added $#@! missing static declaration. Added $#@! missing static declaration.
...@@ -229,7 +232,7 @@ Wrapper_getattro(Wrapper *self, PyObject *oname) ...@@ -229,7 +232,7 @@ Wrapper_getattro(Wrapper *self, PyObject *oname)
else if(PyECMethod_Check(r) && PyECMethod_Self(r)==self->obj) else if(PyECMethod_Check(r) && PyECMethod_Self(r)==self->obj)
ASSIGN(r,PyECMethod_New(r,(PyObject*)self)); ASSIGN(r,PyECMethod_New(r,(PyObject*)self));
else if(has__of__(r)) else if(has__of__(r))
ASSIGN(r,CallMethodO(r,py__of__,Build("O", self), NULL)); ASSIGN(r,CallMethodO(r,py__of__,Build("(O)", self), NULL));
return r; return r;
} }
if(self->obj) PyErr_Clear(); if(self->obj) PyErr_Clear();
...@@ -536,7 +539,7 @@ void ...@@ -536,7 +539,7 @@ void
initAcquisition() initAcquisition()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.3 $"; char *rev="$Revision: 1.4 $";
PURE_MIXIN_CLASS(Acquirer, PURE_MIXIN_CLASS(Acquirer,
"Base class for objects that acquire attributes from containers\n" "Base class for objects that acquire attributes from containers\n"
, Acquirer_methods); , Acquirer_methods);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment