Kaydet (Commit) 1c7ddb62 authored tarafından Skip Montanaro's avatar Skip Montanaro

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

example
üst 8e97fbf3
...@@ -161,8 +161,6 @@ import urllib ...@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment