]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
fix __str__ method of EnvironmentError (base class of IOError): was
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 28 Jul 1998 17:30:06 +0000 (17:30 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 28 Jul 1998 17:30:06 +0000 (17:30 +0000)
commitec8c8c2ef2cac83a12b249c4e6ba4c62c018bfdc
treed8bce6e6e21701ec729b18de8d5ddb54d2f314fb
parentee7fd697bf2e1752f2a484030906ea7b7912e0e8
fix __str__ method of EnvironmentError (base class of IOError): was
using "%d" % errno to print out IOError exceptions -- but urllib.py
raises exceptions where the errno slot in the exception tuple is a
string.
Lib/exceptions.py