Support return statements without expressions #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the python grammar doesn't support/properly recognize a return statement with no return value.
Example:
The above is currently unsupported with the current grammar in lever-python.
Reference to cpython grammar:
github.com/python/cpython@c347cbe694/Grammar/python.gram (L198)(more readable format on the official python docs, search for
return_stmt)Thanks! Released as 0.13.2