From: Fred Drake Date: Fri, 5 Dec 2003 17:34:27 +0000 (+0000) Subject: Remove the PendingDeprecationWarning from apply(). apply() will X-Git-Tag: v2.4a1~1146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d75ede32382352930d6c8c8c6bac472010c2f782;p=thirdparty%2FPython%2Fcpython.git Remove the PendingDeprecationWarning from apply(). apply() will remain deprecated in the documentation. --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 2fb8206003d7..9d6378bd7888 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -75,10 +75,6 @@ builtin_apply(PyObject *self, PyObject *args) 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) {