From 63bc2e0fcbe4d76fe04dcb85780853bc4e2753a5 Mon Sep 17 00:00:00 2001 From: Fred Drake <fdrake@acm.org> Date: Mon, 23 Jul 2001 19:16:22 +0000 Subject: [PATCH] Convert the use of apply(f, args) to the new spelling: f(*args). This is part of SF patch #443788. --- Doc/lib/liburllib.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex index b3711547b2..e6a96d11cc 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} -- 2.40.0