|
From: Colin J. W. <cj...@sy...> - 2006-02-23 19:19:21
|
Bar is a sub-class of ArrayType (ndarray) and bar is an instance of Bar [Dbg]>>> self.bar Bar([ 5, 1, 1, 11, 3, 7, 14, 0, 5, 2, 4, 12, 9, 10, 4, 12], dtype=uint16) [Dbg]>>> z= self.bar [Dbg]>>> z 1 << Is this expected? [Dbg]>>> type(self.bar) <class '__main__.Bar'> [Dbg]>>> self.bar.__class__.base <attribute 'base' of 'numpy.bigndarray' objects> [Dbg]>>> Colin W. |