]> granicus.if.org Git - python/commitdiff
Fixed typo noted by Guido Kollerie <gkoller@cs.vu.nl> in example code.
authorFred Drake <fdrake@acm.org>
Tue, 30 May 2000 14:39:45 +0000 (14:39 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 30 May 2000 14:39:45 +0000 (14:39 +0000)
Doc/lib/liburllib.tex

index 38ee09e7e787d07199017dd259b1cf3b1706789c..c781ebcaf76f278d66b9e9313ac882d5bf3af7e3 100644 (file)
@@ -173,7 +173,7 @@ class AppURLopener(urllib.FancyURLopener):
         apply(urllib.FancyURLopener.__init__, (self,) + args)
         self.version = "App/1.7"
 
-urllib._urlopener = AppURLopener
+urllib._urlopener = AppURLopener()
 \end{verbatim}
 
 \begin{classdesc}{URLopener}{\optional{proxies\optional{, **x509}}}