summaryrefslogtreecommitdiff
path: root/io.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2007-12-26 23:04:04 +0000
committerTravis Oliphant <oliphant@enthought.com>2007-12-26 23:04:04 +0000
commit72ef1ec10f70c6870e3c6e1fe621e11ddd306c6a (patch)
treec13265fa0bcf8fa22cbbd9b24b2b98bc9cd55bc3 /io.py
parent0c728126f30c79512fdf0dff7c928c387291ce5a (diff)
downloadnumpy-72ef1ec10f70c6870e3c6e1fe621e11ddd306c6a.tar.gz
Fix packbits and unpackbits for new io in numpy.
Diffstat (limited to 'io.py')
-rw-r--r--io.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/io.py b/io.py
index d6e1c9da5..a9973915a 100644
--- a/io.py
+++ b/io.py
@@ -1,7 +1,7 @@
__all__ = ['savetxt', 'loadtxt',
'loads', 'load',
- 'save',
+ 'save', 'packbits', 'unpackbits',
'DataSource',
]
@@ -9,6 +9,8 @@ import numpy as np
from cPickle import load as _cload, loads
from _datasource import DataSource
+from _compiled_base import packbits, unpackbits
+
_file = file
def load(file):