diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-11-15 07:57:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 07:57:37 -0600 |
commit | fcfadfe84058498c96408f0be487c70be8bba65e (patch) | |
tree | a7b80a7f4a62fb173c733e33d800cbada525bfd3 /numpy/lib/utils.py | |
parent | 1fccdccf9f326de5d4f0f2982f35ba4ead16156c (diff) | |
parent | b697a9ad15c8c3b44bdf0b67888e0ba98ec0b31e (diff) | |
download | numpy-fcfadfe84058498c96408f0be487c70be8bba65e.tar.gz |
Merge pull request #12390 from mattip/cleanup-deprecate
DEV: remove shim added in 1.4
Diffstat (limited to 'numpy/lib/utils.py')
-rw-r--r-- | numpy/lib/utils.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py index ce42c53b9..84edf4021 100644 --- a/numpy/lib/utils.py +++ b/numpy/lib/utils.py @@ -165,13 +165,6 @@ def deprecate(*args, **kwargs): fn = args[0] args = args[1:] - # backward compatibility -- can be removed - # after next release - if 'newname' in kwargs: - kwargs['new_name'] = kwargs.pop('newname') - if 'oldname' in kwargs: - kwargs['old_name'] = kwargs.pop('oldname') - return _Deprecate(*args, **kwargs)(fn) else: return _Deprecate(*args, **kwargs) |