Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 63bc2e0

Browse files
committed
Convert the use of apply(f, args) to the new spelling: f(*args).
This is part of SF patch #443788.
1 parent 649414c commit 63bc2e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/liburllib.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ \section{\module{urllib} ---
175175
class AppURLopener(urllib.FancyURLopener):
176176
def __init__(self, *args):
177177
self.version = "App/1.7"
178-
apply(urllib.FancyURLopener.__init__, (self,) + args)
178+
urllib.FancyURLopener.__init__(self, *args)
179179
180180
urllib._urlopener = AppURLopener()
181181
\end{verbatim}

0 commit comments

Comments
 (0)