Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Technologicat committed Oct 5, 2018
1 parent 4e2a28c commit 759a998
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unpythonic/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,12 +536,14 @@ def λ(tree, args, kwargs, **kw):
Usage::
λ(arg0, ...)[body0, ...]
λ(a0, ..., am, b0=default0, ..., bn=defaultn)[body0, ...]
Bodys like in ``do``.
Limitations:
- No *args or **kwargs.
- No by-name-only args.
"""
invalids = [x for x in args if type(x) is not Name]
if invalids:
Expand Down

0 comments on commit 759a998

Please sign in to comment.