8000 "lambda" is not allowed to use as keyword arguments in a sample documentation. by tkamishima · Pull Request #7799 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

"lambda" is not allowed to use as keyword arguments in a sample documentation. #7799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
"lambda" is not allowed to use as keyword arguments because it is a r…
…eserved word.
  • Loading branch information
tkamishima committed Jul 4, 2016
commit 02b966c84c42ae5a364a1b5b2c6fbcacfde85a3a
4 changes: 2 additions & 2 deletions numpy/lib/function_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------
Expand Down
0