diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-30 17:37:22 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-30 17:37:22 (GMT) |
commit | 3cd6537beb7df1831fcd7cfdc6d74616648feddf (patch) | |
tree | a19c8b2e6e5ef1499e2eb3998205deb9ec8c46cf | |
parent | bf2604c0cc0d954c452d3077b1fa6b90db4df70e (diff) | |
download | cpython-3cd6537beb7df1831fcd7cfdc6d74616648feddf.zip cpython-3cd6537beb7df1831fcd7cfdc6d74616648feddf.tar.gz cpython-3cd6537beb7df1831fcd7cfdc6d74616648feddf.tar.bz2 |
Fix a lingering string exception.
-rwxr-xr-x | Demo/classes/bitvec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/classes/bitvec.py b/Demo/classes/bitvec.py index 97921f2..227a536 100755 --- a/Demo/classes/bitvec.py +++ b/Demo/classes/bitvec.py @@ -20,7 +20,7 @@ def _compute_len(param): mant, l = math.frexp(float(param)) bitmask = 1 << l if bitmask <= param: - raise 'FATAL', '(param, l) = %r' % ((param, l),) + raise ValueError('(param, l) = %r' % ((param, l),)) while l: bitmask = bitmask >> 1 if param & bitmask: |