diff options
author | Fred Drake <fdrake@acm.org> | 2003-12-05 17:34:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-12-05 17:34:27 (GMT) |
commit | d75ede32382352930d6c8c8c6bac472010c2f782 (patch) | |
tree | bb5ea35b412259c67c2eff8421cbc06394222935 /Python/bltinmodule.c | |
parent | f62444ab16d742352c563c45abb04c2ddb19cf45 (diff) | |
download | cpython-d75ede32382352930d6c8c8c6bac472010c2f782.zip cpython-d75ede32382352930d6c8c8c6bac472010c2f782.tar.gz cpython-d75ede32382352930d6c8c8c6bac472010c2f782.tar.bz2 |
Remove the PendingDeprecationWarning from apply(). apply() will
remain deprecated in the documentation.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 2fb8206..9d6378b 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) { |