summaryrefslogtreecommitdiff
path: root/tests/run/temp_alloc_T409.pyx
blob: 425b7064b09447c5d7260de0bb5a843638409a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
# ticket: t409
# 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