A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/039262.html below:

[Python-Dev] Re: accumulator display syntax

[Python-Dev] Re: accumulator display syntax [Python-Dev] Re: accumulator display syntaxDelaney, Timothy C (Timothy) tdelaney at avaya.com
Wed Oct 22 00:44:13 EDT 2003
> From: David Eppstein [mailto:eppstein at ics.uci.edu]
> 
> Once I have iterator expressions, I can simplify it by 
> dropping a whole two 
> characters (the brackets) and get an unimportant time 
> savings.  But with 
> PEP 274, I could write
> 
> 	pos2d = 
> {s:(positions[s][0]+dx*positions[s][2],positions[s][1]+dy*posi
> tions[s][2])
>           for s in positions}

Don't be evil ... <wink>

Tim Delaney

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4