]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
int() of a string is only expected to through ValueError, so do not use
authorFred Drake <fdrake@acm.org>
Fri, 11 May 2001 18:45:52 +0000 (18:45 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 11 May 2001 18:45:52 +0000 (18:45 +0000)
commit1b7e0795285b81588a1f5957b7fc045bf384783e
tree0dccd98bc99e2394aeb303b32dd8b81f3c0815d4
parent9f9b593f8d1861ae4c888e08c61d1060c38bdb50
int() of a string is only expected to through ValueError, so do not use
a bare except clause.
Lib/htmllib.py