Skip to content

Commit

Permalink
other Ellipses example
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel committed Nov 10, 2018
1 parent f6c5c2d commit 5c8f6e5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/transformer/test_slice.py
Expand Up @@ -43,9 +43,11 @@ def test_ellipsis_slice_01():


ELLIPSIS_EXAMPLE = """
def first_last(input_list):
first, ..., last = input_list
return (first, last)
from array import Array
data_array = Array('l', [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
data[1, ..., 1]
"""


Expand Down

0 comments on commit 5c8f6e5

Please sign in to comment.