From 5e10dde304be3726ca1600307486278657dfa9ab 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/robotparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/robotparser.py') diff --git a/Lib/robotparser.py b/Lib/robotparser.py index 71dcaeeaf5..e2af545848 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): -- cgit v1.2.1