From: Fred Drake Date: Mon, 23 Jul 2001 19:16:22 +0000 (+0000) Subject: Convert the use of apply(f, args) to the new spelling: f(*args). X-Git-Tag: v2.2a3~985 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63bc2e0fcbe4d76fe04dcb85780853bc4e2753a5;p=thirdparty%2FPython%2Fcpython.git Convert the use of apply(f, args) to the new spelling: f(*args). This is part of SF patch #443788. --- diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex index b3711547b204..e6a96d11cc95 100644 --- a/Doc/lib/liburllib.tex +++ b/Doc/lib/liburllib.tex @@ -175,7 +175,7 @@ accomplished with the following code: class AppURLopener(urllib.FancyURLopener): def __init__(self, *args): self.version = "App/1.7" - apply(urllib.FancyURLopener.__init__, (self,) + args) + urllib.FancyURLopener.__init__(self, *args) urllib._urlopener = AppURLopener() \end{verbatim}