Author: mattip <[email protected]>
Branch: object-dtype2
Changeset: r76782:3b29ab05eaea
Date: 2015-04-12 20:38 +0300
http://bitbucket.org/pypy/pypy/changeset/3b29ab05eaea/
Log: help translation
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
@@ -112,12 +112,13 @@
return dispatcher
class BaseType(object):
- _immutable_fields_ = ['native', 'space']
+ _immutable_fields_ = ['native', 'space', 'T']
def __init__(self, space, native=True):
assert isinstance(space, ObjSpace)
self.native = native
self.space = space
+ self.T = self.T
def __repr__(self):
return self.__class__.__name__
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit