diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-07-24 17:00:10 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-07-24 17:00:10 +0100 |
commit | 7748f26fdbc44cf6d06c270f0a166d797b574744 (patch) | |
tree | a260c4d9157ab8998952239d29f8941a8ce8a39d /numpy/_globals.py | |
parent | 6958be1c9180bd52a7aaf979718b2b851f280055 (diff) | |
download | numpy-7748f26fdbc44cf6d06c270f0a166d797b574744.tar.gz |
MAINT: Use new-style classes on 2.7
Deliberately avoids tests, to prevent introducing a failure on old-style classes later.
Diffstat (limited to 'numpy/_globals.py')
-rw-r--r-- | numpy/_globals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/_globals.py b/numpy/_globals.py index 64a84da96..2d7b69bc4 100644 --- a/numpy/_globals.py +++ b/numpy/_globals.py @@ -53,7 +53,7 @@ class VisibleDeprecationWarning(UserWarning): pass -class _NoValue: +class _NoValue(object): """Special keyword value. This class may be used as the default value assigned to a deprecated |