diff options
Diffstat (limited to 'numpy/oldnumeric/random_array.py')
-rw-r--r-- | numpy/oldnumeric/random_array.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/oldnumeric/random_array.py b/numpy/oldnumeric/random_array.py index ffae79616..777e2a645 100644 --- a/numpy/oldnumeric/random_array.py +++ b/numpy/oldnumeric/random_array.py @@ -19,10 +19,10 @@ def seed(x=0, y=0): mt.seed((x,y)) def get_seed(): - raise NotImplementedError, \ - "If you want to save the state of the random number generator.\n"\ - "Then you should use obj = numpy.random.get_state() followed by.\n"\ - "numpy.random.set_state(obj)." + raise NotImplementedError( + "If you want to save the state of the random number generator.\n" + "Then you should use obj = numpy.random.get_state() followed by.\n" + "numpy.random.set_state(obj).") def random(shape=[]): "random(n) or random([n, m, ...]) returns array of random numbers" |