summaryrefslogtreecommitdiff
path: root/scipy/base/chararray.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-12-30 01:59:33 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-12-30 01:59:33 +0000
commit12fb5f95f206627c4f4c4e11b963527850df70f4 (patch)
tree9ef3b6c85a3412142e69cb734e78e3f8921af0f8 /scipy/base/chararray.py
parentac853f7e345d949a6be1a7e6a749ce31c4b0d7f9 (diff)
downloadnumpy-12fb5f95f206627c4f4c4e11b963527850df70f4.tar.gz
Fixed problems revealed by pychecker.
Diffstat (limited to 'scipy/base/chararray.py')
-rw-r--r--scipy/base/chararray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/chararray.py b/scipy/base/chararray.py
index 58d506fcc..130a40cc4 100644
--- a/scipy/base/chararray.py
+++ b/scipy/base/chararray.py
@@ -112,7 +112,7 @@ class chararray(ndarray):
maxsize = max(len(newval), maxsize)
res[k] = newval
newarr = chararray(b.shape, maxsize, self.dtype is unicode_)
- nearr[:] = res
+ newarr[:] = res
return newarr
def __rmod__(self, other):