Debian Codegraph @

tests/data/cases/tupleassign.py

raw
1 # This is a standalone comment.
2 sdfjklsdfsjldkflkjsf, sdfjsdfjlksdljkfsdlkf, sdfsdjfklsdfjlksdljkf, sdsfsdfjskdflsfsdf = 1, 2, 3
3
4 # This is as well.
5 this_will_be_wrapped_in_parens, = struct.unpack(b"12345678901234567890")
6
7 (a,) = call()
8
9 # output
10
11
12 # This is a standalone comment.
13 (
14 sdfjklsdfsjldkflkjsf,
15 sdfjsdfjlksdljkfsdlkf,
16 sdfsdjfklsdfjlksdljkf,
17 sdsfsdfjskdflsfsdf,
18 ) = (1, 2, 3)
19
20 # This is as well.
21 (this_will_be_wrapped_in_parens,) = struct.unpack(b"12345678901234567890")
22
23 (a,) = call()