From 68468eba635570400f607e140425a222018e56f9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 27 Feb 2003 20:14:51 +0000 Subject: Get rid of many apply() calls. --- Lib/nntplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/nntplib.py') diff --git a/Lib/nntplib.py b/Lib/nntplib.py index 16e7550f79..d52286f476 100644 --- a/Lib/nntplib.py +++ b/Lib/nntplib.py @@ -41,7 +41,7 @@ __all__ = ["NNTP","NNTPReplyError","NNTPTemporaryError", class NNTPError(Exception): """Base class for all nntplib exceptions""" def __init__(self, *args): - apply(Exception.__init__, (self,)+args) + Exception.__init__(self, *args) try: self.response = args[0] except IndexError: -- cgit v1.2.1