We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1631676 + 28b527e commit c6c5d63Copy full SHA for c6c5d63
2 files changed
api/openmatrix/File.py
@@ -110,7 +110,9 @@ def shape(self):
110
111
# Inspect the first CArray object to determine its shape
112
if len(self) > 0:
113
- self._shape = self.iter_nodes(self.root.data,'CArray').next().shape
+ # jwd: generator has no next funtion in python 3
114
+ # next() function supported in both in python 2.6+ and python 3
115
+ self._shape = next(self.iter_nodes(self.root.data,'CArray')).shape
116
117
# Store it if we can
118
if self._iswritable():
api/setup.py
@@ -6,7 +6,7 @@
6
setup(
7
name='OpenMatrix',
8
keywords='openmatrix omx',
9
- version='0.3.4',
+ version='0.3.4.1',
10
author='Billy Charlton, Ben Stabler',
11
author_email='billy@okbecause.com, benstabler@yahoo.com',
12
packages=find_packages(),
0 commit comments