diff options
| author | Warren Weckesser <warren.weckesser@gmail.com> | 2020-08-12 20:41:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-12 19:41:23 -0500 |
| commit | b4fd7a79bc55f17f301d219492528e6f5f40c6f0 (patch) | |
| tree | 244ffaa0968549d474580eaaf17dc4f97aedc42e /tools | |
| parent | 2b54640ad50bbbfecfb4c9cc8c9dd9c161f6a52e (diff) | |
| download | numpy-b4fd7a79bc55f17f301d219492528e6f5f40c6f0.tar.gz | |
DEP: lib: Remove the deprecated financial functions. (#17067)
As explained in NEP 32, the financial functions are to be removed
from version 1.20.
They are now replaced with module level `__getattr__` to give a useful
error message for those surprised by the `AttributeError`.
This only works for Python 3.7+, but it is expected that by the 1.20 release
Python 3.6 will not be supported.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/functions_missing_types.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/functions_missing_types.py b/tools/functions_missing_types.py index 0fee97777..a32e72dad 100755 --- a/tools/functions_missing_types.py +++ b/tools/functions_missing_types.py @@ -50,17 +50,6 @@ EXCLUDE_LIST = { "object", "str", "unicode", - # Should use numpy_financial instead - "fv", - "ipmt", - "irr", - "mirr", - "nper", - "npv", - "pmt", - "ppmt", - "pv", - "rate", # More standard names should be preferred "alltrue", # all "sometrue", # any |
