diff options
Diffstat (limited to 'Demo/classes/bitvec.py')
-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 495a837..c0eafa0 100755 --- a/Demo/classes/bitvec.py +++ b/Demo/classes/bitvec.py @@ -21,7 +21,7 @@ def _compute_len(param): mant, l = math.frexp(float(param)) bitmask = 1L << l if bitmask <= param: - raise 'FATAL', '(param, l) = %r' % ((param, l),) + raise RuntimeError('(param, l) = %r' % ((param, l),)) while l: bitmask = bitmask >> 1 if param & bitmask: |