From 872a836d920c0c45321c862d73f2aa9ec9c77f51 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Fri, 24 Feb 2006 02:17:39 +0000 Subject: Add check for rint and a default implementation if not present. Make UserArray a new-style class. --- numpy/lib/UserArray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/UserArray.py') diff --git a/numpy/lib/UserArray.py b/numpy/lib/UserArray.py index 243b22d70..b33ff31f1 100644 --- a/numpy/lib/UserArray.py +++ b/numpy/lib/UserArray.py @@ -6,7 +6,7 @@ from numpy.core import * import string -class UserArray: +class UserArray(object): def __init__(self, data, dtype=None, copy=True): self.array = array(data, dtype, copy) self.shape = self.array.shape -- cgit v1.2.1