Commit 6e729c12 authored by Jim Fulton's avatar Jim Fulton

Bob's your uncle.

parent db23e8a8
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE. DAMAGE.
$Id: Acquisition.c,v 1.27 1999/04/23 13:47:43 jim Exp $ $Id: Acquisition.c,v 1.28 1999/07/07 18:24:54 jim Exp $
If you have questions regarding this software, If you have questions regarding this software,
contact: contact:
...@@ -308,6 +308,13 @@ Wrapper_special(Wrapper *self, char *name, PyObject *oname) ...@@ -308,6 +308,13 @@ Wrapper_special(Wrapper *self, char *name, PyObject *oname)
return OBJECT(self); return OBJECT(self);
} }
break; break;
case 'u':
if (strcmp(name,"uncle")==0)
{
return PyString_FromString("Bob");
}
break;
} }
...@@ -952,7 +959,7 @@ void ...@@ -952,7 +959,7 @@ void
initAcquisition() initAcquisition()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.27 $"; char *rev="$Revision: 1.28 $";
PURE_MIXIN_CLASS(Acquirer, PURE_MIXIN_CLASS(Acquirer,
"Base class for objects that implicitly" "Base class for objects that implicitly"
" acquire attributes from containers\n" " acquire attributes from containers\n"
...@@ -971,7 +978,7 @@ initAcquisition() ...@@ -971,7 +978,7 @@ initAcquisition()
/* Create the module and add the functions */ /* Create the module and add the functions */
m = Py_InitModule4("Acquisition", methods, m = Py_InitModule4("Acquisition", methods,
"Provide base classes for acquiring objects\n\n" "Provide base classes for acquiring objects\n\n"
"$Id: Acquisition.c,v 1.27 1999/04/23 13:47:43 jim Exp $\n", "$Id: Acquisition.c,v 1.28 1999/07/07 18:24:54 jim Exp $\n",
OBJECT(NULL),PYTHON_API_VERSION); OBJECT(NULL),PYTHON_API_VERSION);
d = PyModule_GetDict(m); d = PyModule_GetDict(m);
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE. DAMAGE.
$Id: Acquisition.c,v 1.27 1999/04/23 13:47:43 jim Exp $ $Id: Acquisition.c,v 1.28 1999/07/07 18:24:54 jim Exp $
If you have questions regarding this software, If you have questions regarding this software,
contact: contact:
...@@ -308,6 +308,13 @@ Wrapper_special(Wrapper *self, char *name, PyObject *oname) ...@@ -308,6 +308,13 @@ Wrapper_special(Wrapper *self, char *name, PyObject *oname)
return OBJECT(self); return OBJECT(self);
} }
break; break;
case 'u':
if (strcmp(name,"uncle")==0)
{
return PyString_FromString("Bob");
}
break;
} }
...@@ -952,7 +959,7 @@ void ...@@ -952,7 +959,7 @@ void
initAcquisition() initAcquisition()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.27 $"; char *rev="$Revision: 1.28 $";
PURE_MIXIN_CLASS(Acquirer, PURE_MIXIN_CLASS(Acquirer,
"Base class for objects that implicitly" "Base class for objects that implicitly"
" acquire attributes from containers\n" " acquire attributes from containers\n"
...@@ -971,7 +978,7 @@ initAcquisition() ...@@ -971,7 +978,7 @@ initAcquisition()
/* Create the module and add the functions */ /* Create the module and add the functions */
m = Py_InitModule4("Acquisition", methods, m = Py_InitModule4("Acquisition", methods,
"Provide base classes for acquiring objects\n\n" "Provide base classes for acquiring objects\n\n"
"$Id: Acquisition.c,v 1.27 1999/04/23 13:47:43 jim Exp $\n", "$Id: Acquisition.c,v 1.28 1999/07/07 18:24:54 jim Exp $\n",
OBJECT(NULL),PYTHON_API_VERSION); OBJECT(NULL),PYTHON_API_VERSION);
d = PyModule_GetDict(m); d = PyModule_GetDict(m);
......
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