Documentation, assignment in expression.

Sun Mar 25 17:16:16 CEST 2012

On 3/25/2012 15:48, Tim Chase wrote:
> The old curmudgeon in me likes the Pascal method of using "=" for
> equality-testing, and ":=" for assignment which feels a little closer to
> mathematical use of "=".

Unfortunately, ":=" means "is defined as" in mathematics. The "right" 
operator would have been "<-".


More information about the Python-list mailing list