Files
codeql/python/ql/test/3/extractor-tests/tuple_unpacking/test.py
Taus 8ec414d454 Python: Add copy of internal Python 3 tests
Again, mostly extractor tests, and a single library test.
2024-04-15 12:30:01 +00:00

12 lines
168 B
Python

def cons(x, ys):
return x, *ys
def cons_each(xs, ys):
for x in xs:
yield x, *ys
print(cons(1,(2,3,4)))
for l in cons_each((1,2),(3,4)):
print(l)