diff options
author | Louie Dinh <ldinh@athinkingape.com> | 2013-06-27 10:57:49 -0700 |
---|---|---|
committer | Louie Dinh <ldinh@athinkingape.com> | 2013-06-27 10:57:49 -0700 |
commit | cbb2ef1197d2acc480abcf2535cd13bfd2c81deb (patch) | |
tree | b54e426ee4988da8bfaf60c32f1bffbe8aa4da34 | |
parent | 445041776c5716dc3644603d10763cee531b1589 (diff) |
Remove however in unpacking commenting. It's confusing
-rw-r--r-- | python.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown index 168f1ea1..32b7dc93 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -139,7 +139,7 @@ tup + (4, 5, 6) #=> (1, 2, 3, 4, 5, 6) tup[:2] #=> (1, 2) 2 in tup #=> True -# However, you can unpack tuples into variables +# You can unpack tuples into variables a, b, c = (1, 2, 3) # a is now 1, b is now 2 and c is now 3 # Tuples are created by default if you leave out the parentheses d, e, f = 4, 5, 6 |