File: tuple_shenanigans.py

package info (click to toggle)
python-libcst 1.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,240 kB
  • sloc: python: 78,096; makefile: 15; sh: 2
file content (30 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(1, 2)
(1, 2, 3)

# alright here we go.

()
(())
(((())), ())
( # evil >:)
  # evil >:(
) # ...
(1,)
( *  1 , *  2 ,)
*_ = (l,)
() = x
( ) = ( x,  )
(x) = (x)
( x , )  =  x
( x , *y , * z , ) = l
( x , *y , * z , ) = ( x , *y , * z , ) = ( x , *y , * z , x )
(
    x  ,  #  :)
    bar,  *
    baz
    ,
)   =\
(
    (let, *s, (  ) )  ,
    nest , them , ( * t , * u , * p , l , * e , s , )
)