(original) (raw)
Index: Python/bltinmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v retrieving revision 2.270 diff -w -u -r2.270 bltinmodule.c --- Python/bltinmodule.c 4 Jan 2003 02:16:22 -0000 2.270 +++ Python/bltinmodule.c 5 Jan 2003 21:29:58 -0000 @@ -70,6 +70,8 @@ PyObject *func, *alist = NULL, *kwdict = NULL; PyObject *t = NULL, *retval = NULL; + PyErr_Warn(PyExc_PendingDeprecationWarning, + "use func(*args, **kwargs) instead of apply()"); if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict)) return NULL; if (alist != NULL) {