view Tools/modulator/Templates/module_method @ 4566:6403c94de50d legacy-trunk

Added safeguard against failure in __del__.
author Guido van Rossum <guido@python.org>
date Wed, 27 Nov 1996 19:39:58 +0000
parents a1087aa641cd
children 847425d5bca8
line wrap: on
line source


static char $abbrev$_$method$__doc__[] =
""
;

static PyObject *
$abbrev$_$method$(self, args)
	PyObject *self;	/* Not used */
	PyObject *args;
{

	if (!PyArg_ParseTuple(args, ""))
		return NULL;
	Py_INCREF(Py_None);
	return Py_None;
}