Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
nawgszy
· 6y ago · 0 comments
Can you unpack tuples in Python? In JS for example you could write
const [result, errmsg] = do_stuff();
And I guess you would be fine to omit the errmsg, even though I admit the resulting [result] syntax would be dissatisfying
Comments
No comments yet.
Better HN