summaryrefslogtreecommitdiff
path: root/numpy/core/getlimits.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-04-05 15:08:23 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-04-05 17:38:00 -0600
commite1a9692cc36e4353798a332c834fce7aa6cf9b54 (patch)
treefc499f8768c8d2d99c64547cd1a0b7ae7e6018be /numpy/core/getlimits.py
parentcfd766456368777bcb0d5edabd360b3aeb02d3f8 (diff)
downloadnumpy-e1a9692cc36e4353798a332c834fce7aa6cf9b54.tar.gz
STY: Update exception styles, trickier ones.
Diffstat (limited to 'numpy/core/getlimits.py')
-rw-r--r--numpy/core/getlimits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/getlimits.py b/numpy/core/getlimits.py
index 37f33c66d..518067a3c 100644
--- a/numpy/core/getlimits.py
+++ b/numpy/core/getlimits.py
@@ -104,7 +104,7 @@ class finfo(object):
dtypes.append(newdtype)
dtype = newdtype
if not issubclass(dtype, numeric.inexact):
- raise ValueError, "data type %r not inexact" % (dtype)
+ raise ValueError("data type %r not inexact" % (dtype))
obj = cls._finfo_cache.get(dtype,None)
if obj is not None:
return obj