diff options
Diffstat (limited to 'numpy/lib/index_tricks.py')
-rw-r--r-- | numpy/lib/index_tricks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index 24c7bde90..c29f3a6d3 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -267,8 +267,8 @@ class AxisConcatenator(object): newobj = newobj.swapaxes(-1,trans1d) elif isinstance(key[k],str): if k != 0: - raise ValueError, "special directives must be the"\ - "first entry." + raise ValueError("special directives must be the " + "first entry.") key0 = key[0] if key0 in 'rc': self.matrix = True |