converting from perl: variable sized unpack
Tim Hammerquist
tim at vegeta.ath.cx
Sun Jul 15 21:03:29 EDT 2001
Me parece que Quinn Dunkan <quinn at yak.ugcs.caltech.edu> dijo:
> Ruby allows * notation:
>
> a, b, *c = sequence # `c' gets the rest of the sequence
>
> which is cute, but I don't like it. Just another random "convenient" little
> trick to remember. It's not half as useful as the 1.6 * apply trick. Let's
> go easy on the syntax gimmicks.
I'm relatively new to Python. What's the '1.6 * apply' trick?
--
Little one, I would like to see anyone -- prophet, king or
god -- persuade a thousand cats to do anything at the same time.
-- Orange Cat, The Sandman
More information about the Python-list
mailing list