Ticket #38 (closed enhancement: fixed)
Support multiple arg assignment
Reported by: | hopscc | Owned by: | Chuck |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
(also called tuple unpacking and arg unbinding)
Allow assignment to multiple args from a list (enumeration) in a single statement.
e.g
a,b = fnReturns2Args() x,y = 1,2 for x,y in ..whatever_list_array_string for key, value in dict ...
Attachments
Change History
Note: See
TracTickets for help on using
tickets.