summaryrefslogtreecommitdiffstats
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r--Lib/nntplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index 16e7550..d52286f 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: