summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2006-03-10 21:31:27 +0000
committercookedm <cookedm@localhost>2006-03-10 21:31:27 +0000
commitbf57380caa818b73a4c41409de6ff260425f9bb6 (patch)
treeb2c42e0fde172de5def0c91811845808c00e296e /numpy/random
parentf2db317c1fad63f1c85944ba8443b465e32774dc (diff)
downloadnumpy-bf57380caa818b73a4c41409de6ff260425f9bb6.tar.gz
Run reindent.py (script distributed with Python) over the source to remove extraneous whitespace
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/__init__.py4
-rw-r--r--numpy/random/setup.py5
2 files changed, 4 insertions, 5 deletions
diff --git a/numpy/random/__init__.py b/numpy/random/__init__.py
index 13d0e3a22..5a7423208 100644
--- a/numpy/random/__init__.py
+++ b/numpy/random/__init__.py
@@ -8,11 +8,11 @@ __all__.extend(['ranf','random','sample'])
def __RandomState_ctor():
"""Return a RandomState instance.
-
+
This function exists solely to assist (un)pickling.
"""
return RandomState()
def test(level=1, verbosity=1):
- from numpy.testing import NumpyTest
+ from numpy.testing import NumpyTest
return NumpyTest().test(level, verbosity)
diff --git a/numpy/random/setup.py b/numpy/random/setup.py
index bc9d4f059..3dca04759 100644
--- a/numpy/random/setup.py
+++ b/numpy/random/setup.py
@@ -21,7 +21,7 @@ def configuration(parent_package='',top_path=None):
libs = []
# Configure mtrand
config.add_extension('mtrand',
- sources=[join('mtrand', x) for x in
+ sources=[join('mtrand', x) for x in
['mtrand.c', 'randomkit.c', 'initarray.c',
'distributions.c']]+[generate_libraries],
libraries=libs,
@@ -30,7 +30,7 @@ def configuration(parent_package='',top_path=None):
join('mtrand','*.pxi'),
]
)
-
+
return config
def testcode_wincrypt():
@@ -50,4 +50,3 @@ int main(int argc, char *argv[])
if __name__ == '__main__':
from numpy.distutils.core import setup
setup(**configuration(top_path='').todict())
-