Skip to content

Commit 03667e9

Browse files
author
collin.winter
committed
Fix a lingering string exception.
git-svn-id: http://svn.python.org/projects/python/branches/py3k@57736 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent bbf4851 commit 03667e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Demo/classes/bitvec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _compute_len(param):
2020
mant, l = math.frexp(float(param))
2121
bitmask = 1 << l
2222
if bitmask <= param:
23-
raise 'FATAL', '(param, l) = %r' % ((param, l),)
23+
raise ValueError('(param, l) = %r' % ((param, l),))
2424
while l:
2525
bitmask = bitmask >> 1
2626
if param & bitmask:

0 commit comments

Comments
 (0)