Documentation, assignment in expression.

Kiuhnm kiuhnm03.4t.yahoo.it
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 "<-".

Kiuhnm



More information about the Python-list mailing list