Add support for trailing colons in slice expressions (#3077)

This commit is contained in:
Charlie Marsh 2023-02-20 18:24:32 -05:00 committed by GitHub
parent 7d4e513a82
commit ce8953442d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 2 deletions

View file

@ -34,4 +34,3 @@ ham[lower:upper], ham[lower:upper:], ham[lower::step]
# ham[lower+offset : upper+offset]
ham[: upper_fn(x) : step_fn(x)], ham[:: step_fn(x)]
ham[lower + offset : upper + offset]