1 | #!/usr/bin/env python2 |
2 | from __future__ import print_function |
3 | """ |
4 | tuple_args.py: Testing out this little-known feature of Python, which compiler2 |
5 | supports. |
6 | """ |
7 | |
8 | # Python 3 no longer supports this! |
9 | def f(a, (b, c), (d, e, f)): |
10 | print(a, b, c, d, e, f) |
11 | |
12 | if __name__ == '__main__': |
13 | f(1, (2, 3), (4, 5, 6)) |