[pypy-commit] pypy numpy-record-dtypes: another spec
fijal
noreply at buildbot.pypy.org
Tue Feb 7 13:13:59 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-record-dtypes
Changeset: r52171:f6706a32e053
Date: 2012-02-07 13:49 +0200
http://bitbucket.org/pypy/pypy/changeset/f6706a32e053/
Log: another spec
diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py
--- a/pypy/module/micronumpy/types.py
+++ b/pypy/module/micronumpy/types.py
@@ -71,7 +71,7 @@
def get_element_size(self):
return rffi.sizeof(self.T)
- @specialize.argtype(1)
+ @specialize.argtype(0)
def box(self, value):
return self.BoxType(rffi.cast(self.T, value))
More information about the pypy-commit
mailing list