From fd2630366581049af6c9acc4b41315363b47b55a Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Tue, 5 Apr 2011 17:10:31 -0600 Subject: STY: Fix up some remaining old-style exceptions. I think that is the end of it. --- numpy/oldnumeric/random_array.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/oldnumeric/random_array.py') 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" -- cgit v1.2.1