diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2011-04-05 13:28:50 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-04-05 13:28:50 -0600 |
commit | 2812406e48a7ffa011dc60ed37dda6131c08ae3d (patch) | |
tree | b1aed2c18202686fde71124ebaa4771d52b6afce /numpy/lib/_iotools.py | |
parent | 06dc70263debc5fbbb3e58592c91ca24766b3e3a (diff) | |
download | numpy-2812406e48a7ffa011dc60ed37dda6131c08ae3d.tar.gz |
STY: Replace remaining old style classes with classes subclassing object.
Diffstat (limited to 'numpy/lib/_iotools.py')
-rw-r--r-- | numpy/lib/_iotools.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py index dec0f5a27..27c1e76db 100644 --- a/numpy/lib/_iotools.py +++ b/numpy/lib/_iotools.py @@ -142,7 +142,7 @@ def flatten_dtype(ndtype, flatten_base=False): -class LineSplitter: +class LineSplitter(object): """ Object to split a string at a given delimiter or at given places. @@ -228,7 +228,7 @@ class LineSplitter: -class NameValidator: +class NameValidator(object): """ Object to validate a list of strings to use as field names. @@ -448,7 +448,7 @@ class ConversionWarning(UserWarning): -class StringConverter: +class StringConverter(object): """ Factory class for function transforming a string into another object (int, float). |