diff options
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 1dadc0d1a..da8074f97 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -45,7 +45,7 @@ def seek_gzip_factory(f): offset = self.offset + offset if whence not in [0, 1]: - raise IOError, "Illegal argument" + raise IOError("Illegal argument") if offset < self.offset: # for negative seek, rewind and do positive seek |