From d75ede32382352930d6c8c8c6bac472010c2f782 Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Fri, 5 Dec 2003 17:34:27 +0000
Subject: Remove the PendingDeprecationWarning from apply().  apply() will
 remain deprecated in the documentation.

---
 Python/bltinmodule.c | 4 ----
 1 file changed, 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) {
-- 
cgit v0.12

