summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorMark Wiebe <mwiebe@enthought.com>2011-07-25 18:07:53 -0500
committerCharles Harris <charlesr.harris@gmail.com>2011-08-27 07:26:46 -0600
commit02b42b5823019052b28e68b01c733b4f281eda59 (patch)
tree304ced231f9b8cd2bc1e19fd10f42c3576660187 /numpy/core/arrayprint.py
parentb2e8328b4a951ae63d2c03b6055d222603bcb58d (diff)
downloadnumpy-02b42b5823019052b28e68b01c733b4f281eda59.tar.gz
ENH: missingdata: Have some basic assignment and indexing with NA working
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index 508056a26..8f82ddcd7 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -477,6 +477,8 @@ def _formatArray(a, format_function, rank, max_line_len,
s, line = _extendLine(s, line, summary_insert1, max_line_len, next_line_prefix)
for i in xrange(trailing_items, 1, -1):
+ print "bad index: ", i
+ print "length: ", len(a)
word = format_function(a[-i]) + separator
s, line = _extendLine(s, line, word, max_line_len, next_line_prefix)