hmmm... moving def'n of version makes the __init__ unnecessary for the

example
This commit is contained in:
Skip Montanaro 2005-03-09 03:01:31 +00:00
parent 8e97fbf360
commit 1c7ddb625e
1 changed files with 0 additions and 2 deletions

View File

@ -161,8 +161,6 @@ import urllib
class AppURLopener(urllib.FancyURLopener): class AppURLopener(urllib.FancyURLopener):
version = "App/1.7" version = "App/1.7"
def __init__(self, *args):
urllib.FancyURLopener.__init__(self, *args)
urllib._urlopener = AppURLopener() urllib._urlopener = AppURLopener()
\end{verbatim} \end{verbatim}