Zachary Ware <zachary.w...@gmail.com> added the comment:

It's not clear what you're asking for here.  Your example works, though the 
contents of `a` and `c` will each be an arbitrary member of S and `b` the rest 
of the members of S and you have no guarantee of what you'll get.  If you want 
to be sure of what each name will be attached to, just do `a, *b, c = 
sorted(S)`.

----------
nosy: +zach.ware

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38855>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to