diff options
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 3eb1265..a41f728 100644 --- a/Doc/lib/liburllib.tex +++ b/Doc/lib/liburllib.tex @@ -176,8 +176,8 @@ accomplished with the following code: \begin{verbatim} class AppURLopener(urllib.FancyURLopener): def __init__(self, *args): - apply(urllib.FancyURLopener.__init__, (self,) + args) self.version = "App/1.7" + apply(urllib.FancyURLopener.__init__, (self,) + args) urllib._urlopener = AppURLopener() \end{verbatim} |