what has python added to programming languages? (lets beesoteric, shall we ; )
Fredrik Lundh
fredrik at pythonware.com
Fri Apr 21 09:58:23 EDT 2006
dadapapa at googlemail.com wrote:
> Examples for this are one-liners like
>
> x,y = y,x
> a,b,c = f(x)
> for key in my_dict : do_some_thing_with(my_dict[key])
>
> It might be that Guido adapted such notations from ABC, a language I am
> not familiar with
something like:
PUT (x, y) IN y, x
PUT f x y IN y, x
FOR key IN keys my_dict:
DO_SOME_THING_WITH my_dict[key]
</F>
More information about the Python-list
mailing list