diff options
| author | Fred Drake <fdrake@acm.org> | 2001-07-23 19:16:22 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2001-07-23 19:16:22 +0000 |
| commit | 63bc2e0fcbe4d76fe04dcb85780853bc4e2753a5 (patch) | |
| tree | 3d2a87855fdeaec9ba74cc534e52220815df19e2 /Doc/lib/liburllib.tex | |
| parent | 649414c63011446c330d744610e2dd670c69494e (diff) | |
| download | cpython-git-63bc2e0fcbe4d76fe04dcb85780853bc4e2753a5.tar.gz | |
Convert the use of apply(f, args) to the new spelling: f(*args).
This is part of SF patch #443788.
Diffstat (limited to 'Doc/lib/liburllib.tex')
| -rw-r--r-- | Doc/lib/liburllib.tex | 2 |
1 files changed, 1 insertions, 1 deletions
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} |
