diff options
Diffstat (limited to 'Lib/robotparser.py')
-rw-r--r-- | Lib/robotparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/robotparser.py b/Lib/robotparser.py index 71dcaee..e2af545 100644 --- a/Lib/robotparser.py +++ b/Lib/robotparser.py @@ -230,7 +230,7 @@ class Entry: class URLopener(urllib.FancyURLopener): def __init__(self, *args): - apply(urllib.FancyURLopener.__init__, (self,) + args) + urllib.FancyURLopener.__init__(self, *args) self.errcode = 200 def http_error_default(self, url, fp, errcode, errmsg, headers): |