diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-11-21 10:10:26 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2017-11-24 16:51:53 -0700 |
commit | 1d97b3aafdca2722bbe2f0c10a96544121c8f78b (patch) | |
tree | d70280d678745fdd419fdd17586336f766f279b6 /numpy/lib/_iotools.py | |
parent | d9ca11117f37d48d07818a3aae3641c023454269 (diff) | |
download | numpy-1d97b3aafdca2722bbe2f0c10a96544121c8f78b.tar.gz |
MAINT: Various minor code cleanups.
Minor cleanups of old code to reflect more modern usage.
Diffstat (limited to 'numpy/lib/_iotools.py')
-rw-r--r-- | numpy/lib/_iotools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py index b7db77f32..27143e5c6 100644 --- a/numpy/lib/_iotools.py +++ b/numpy/lib/_iotools.py @@ -861,8 +861,8 @@ class StringConverter(object): # Add the missing values to the existing set or clear it. if missing_values is None: # Clear all missing values even though the ctor initializes it to - # {''} when the argument is None. - self.missing_values = {} + # set(['']) when the argument is None. + self.missing_values = set() else: if not np.iterable(missing_values): missing_values = [missing_values] |