diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-07-04 09:30:41 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-04 09:30:41 -0600 |
commit | 95e8a642759ccfccf6a37f1b07a2697f5d1bd736 (patch) | |
tree | 6f627d34f43e5eb8dfc0b537af217f4d04a910b0 | |
parent | d3e3d91d401f5e47a81e748cd7fb12620b45947a (diff) | |
parent | 02b966c84c42ae5a364a1b5b2c6fbcacfde85a3a (diff) | |
download | numpy-95e8a642759ccfccf6a37f1b07a2697f5d1bd736.tar.gz |
Merge pull request #7799 from tkamishima/pullreq/tkamishima-piecewise-doc
"lambda" is not allowed to use as keyword arguments in a sample documentation.
-rw-r--r-- | numpy/lib/function_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 1e44345b0..3cfaf350b 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -1247,8 +1247,8 @@ def piecewise(x, condlist, funclist, *args, **kw): kw : dict, optional Keyword arguments used in calling `piecewise` are passed to the functions upon execution, i.e., if called - ``piecewise(..., ..., lambda=1)``, then each function is called as - ``f(x, lambda=1)``. + ``piecewise(..., ..., alpha=1)``, then each function is called as + ``f(x, alpha=1)``. Returns ------- |