diff Python/bltinmodule.c @ 31121:b77fd469ee35 2.3

Remove the PendingDeprecationWarning from apply(). apply() will remain deprecated in the documentation.
author Fred Drake <fdrake@acm.org>
date Fri, 05 Dec 2003 17:33:55 +0000
parents 4833a9cd377e
children 677c0bf05735
line wrap: on
line diff
--- a/Python/bltinmodule.c	Fri Dec 05 16:44:01 2003 +0000
+++ b/Python/bltinmodule.c	Fri Dec 05 17:33:55 2003 +0000
@@ -75,10 +75,6 @@
 	PyObject *func, *alist = NULL, *kwdict = NULL;
 	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;
 	if (alist != NULL) {