summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2020-08-12 20:41:23 -0400
committerGitHub <noreply@github.com>2020-08-12 19:41:23 -0500
commitb4fd7a79bc55f17f301d219492528e6f5f40c6f0 (patch)
tree244ffaa0968549d474580eaaf17dc4f97aedc42e /tools
parent2b54640ad50bbbfecfb4c9cc8c9dd9c161f6a52e (diff)
downloadnumpy-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-xtools/functions_missing_types.py11
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