summaryrefslogtreecommitdiff
path: root/tests/run/temp_alloc_T409.pyx
blob: 383e1ef6fb2aeac64bca100b132d37d7b2ef9422 (plain)
1
2
3
4
5
6
7
8
9
10
11
# ticket: 409
# Extracted from sage/plot/plot3d/index_face_set.pyx:502
# Turns out to be a bug in implementation of PEP 3132 (Extended Iterable Unpacking)

def foo():
    """
    >>> foo()
    ([0, 0], [0, 0])
    """
    a = b = [0,0]
    return a, b