diff options
author | Guido van Rossum <guido@python.org> | 2003-02-27 20:14:51 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-27 20:14:51 +0000 |
commit | 5e10dde304be3726ca1600307486278657dfa9ab (patch) | |
tree | 1e2c70236e018ba564d3b3e4c0aa9e88afc6a433 /Lib/nntplib.py | |
parent | 53cd6a594e3fdcbe7bf1d8260169c2eec55b069f (diff) | |
download | cpython-5e10dde304be3726ca1600307486278657dfa9ab.tar.gz |
Get rid of many apply() calls.
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r-- | Lib/nntplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |