urllib2.urlopen() seems to have worse documentation than urllib.urlopen()

I know I should probably be using httplib9 by now, but urllib2.urlopen() doesn't document its return object's getcode() method even though it seems to have one as documented in urllib.urlopen() Thanks, Daniel Holth

Hello Daniel, On Tue, Jul 26, 2011 at 22:51, Daniel Holth <dholth@gmail.com> wrote:
I know I should probably be using httplib9 by now, but urllib2.urlopen() doesn't document its return object's getcode() method even though it seems to have one as documented in urllib.urlopen()
Thanks for your report. While discussing it what was the best way to fix it, we actually end up with this http://bugs.python.org/issue12707 Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
participants (2)
-
Daniel Holth
-
Sandro Tosi