Author: Ilya Osadchiy <[email protected]>
Branch:
Changeset: r44893:c373c5fa4eb4
Date: 2011-05-29 23:13 +0300
http://bitbucket.org/pypy/pypy/changeset/c373c5fa4eb4/
Log: numpy: fixing typo in slicing
diff --git a/pypy/module/micronumpy/interp_numarray.py
b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -220,7 +220,7 @@
def __init__(self, start, stop, parent, signature):
ViewArray.__init__(self, parent, signature)
self.start = start #sl.start
- l = parent.find_size
+ l = parent.find_size()
if stop > l:
self.stop = l
else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit