summaryrefslogtreecommitdiff
path: root/numpy/lib/index_tricks.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/index_tricks.py')
-rw-r--r--numpy/lib/index_tricks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py
index 8134236f6..8777de485 100644
--- a/numpy/lib/index_tricks.py
+++ b/numpy/lib/index_tricks.py
@@ -288,7 +288,7 @@ class AxisConcatenator(object):
if k != 0:
raise ValueError("special directives must be the "
"first entry.")
- if item in 'rc':
+ if item in ('r', 'c'):
matrix = True
col = (item == 'c')
continue