[pypy-commit] pypy object-dtype2: help translation

mattip noreply at buildbot.pypy.org
Sun Apr 12 23:10:11 CEST 2015


Author: mattip <matti.picus at gmail.com>
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__


More information about the pypy-commit mailing list