[Zope-CVS] CVS: Packages/ContextWrapper - wrapper.c:1.2
Fred Drake Jr
fdrake@acm.org
Mon, 12 Nov 2001 23:30:25 -0500
Update of /cvs-repository/Packages/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv26320
Modified Files:
wrapper.c
Log Message:
Remove debugging prints.
=== Packages/ContextWrapper/wrapper.c 1.1 => 1.2 ===
if (PyType_Type.tp_init((PyObject *)self, empty_tuple, NULL) < 0)
goto finally;
- printf("initializing wrapper object...\n");
Py_INCREF(object);
self->wrap_object = object;
Py_XINCREF(context);
@@ -32,7 +31,6 @@
static int
callable_init(WrapperObject *self, PyObject *args, PyObject *kwds)
{
- puts("callable_init()");
if (PyTuple_GET_SIZE(args)) {
PyObject *object = PyTuple_GET_ITEM(args, 0);
if (!PyCallable_Check(object)) {