[Python-checkins] python/dist/src/Python bltinmodule.c, 2.292.10.3,
2.292.10.4
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Fri Dec 5 12:33:58 EST 2003
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv24200
Modified Files:
Tag: release23-maint
bltinmodule.c
Log Message:
Remove the PendingDeprecationWarning from apply(). apply() will
remain deprecated in the documentation.
Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.292.10.3
retrieving revision 2.292.10.4
diff -C2 -d -r2.292.10.3 -r2.292.10.4
*** bltinmodule.c 25 Oct 2003 23:22:55 -0000 2.292.10.3
--- bltinmodule.c 5 Dec 2003 17:33:55 -0000 2.292.10.4
***************
*** 76,83 ****
PyObject *t = NULL, *retval = NULL;
- if (PyErr_Warn(PyExc_PendingDeprecationWarning,
- "use func(*args, **kwargs) instead of "
- "apply(func, args, kwargs)") < 0)
- return NULL;
if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict))
return NULL;
--- 76,79 ----
More information about the Python-checkins
mailing list