diff options
| author | Fred Drake <fdrake@acm.org> | 2003-12-05 17:33:55 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2003-12-05 17:33:55 +0000 |
| commit | 4d478ba0d0c014bbd755466ec1d6968903fd0e3b (patch) | |
| tree | 9d3de32e4ace87566e064123d446c745920d6237 | |
| parent | 303e5bb14d5edf522b6c4062560161f9d127dd49 (diff) | |
| download | cpython-git-4d478ba0d0c014bbd755466ec1d6968903fd0e3b.tar.gz | |
Remove the PendingDeprecationWarning from apply(). apply() will
remain deprecated in the documentation.
| -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 e10d16ba65..8c7e025494 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) { |
