Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r51251:30e3fdc262ca
Date: 2012-01-11 22:47 +0200
http://bitbucket.org/pypy/pypy/changeset/30e3fdc262ca/

Log:    document

diff --git a/pypy/module/micronumpy/signature.py 
b/pypy/module/micronumpy/signature.py
--- a/pypy/module/micronumpy/signature.py
+++ b/pypy/module/micronumpy/signature.py
@@ -137,6 +137,9 @@
     def _invent_array_numbering(self, arr, cache):
         from pypy.module.micronumpy.interp_numarray import ConcreteArray
         concr = arr.get_concrete()
+        # this get_concrete never forces assembler. If we're here and array
+        # is not of a concrete class it means that we have a _forced_result,
+        # otherwise the signature would not match
         assert isinstance(concr, ConcreteArray)
         self.array_no = _add_ptr_to_cache(concr.storage, cache)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to