The meaning of "=" (Was: tough-to-explain Python)

Aahz aahz at pythoncraft.com
Wed Jul 8 17:44:32 CEST 2009


In article <0778f257-d36c-4e13-93ea-bf8d448c82e2 at b15g2000yqd.googlegroups.com>,
Paul Boddie  <paul at boddie.org.uk> wrote:
>
>Almost. The latter can modify namespaces - the objects themselves -
>but through properties or dynamic attribute access, they may choose
>not to modify such a namespace. Really, we can phrase assignment (=)
>as follows:
>
><thing> = <expression> # make <thing> refer to the result of <expression>

Right, except s/thing/target/

http://docs.python.org/reference/simple_stmts.html#assignment-statements
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"as long as we like the same operating system, things are cool." --piranha



More information about the Python-list mailing list