Assignment not the same as defining?

Tim Peters tim.one at home.com
Wed Oct 3 22:13:58 EDT 2001


[Steve Holden]
> ...
> The main thing is to remember that assignment is only one of the
> several (I seem to remember Tim Peters listed five) ways to bind a
> value to a name.

This isn't really a matter of interpreting goose entrails.  All the binding
contexts are explicitly listed in the Reference Manual.  Look for the
sentence starting "The following constructs bind names" in the "Code blocks,
execution frames, and namespaces" section.

seven-or-eight-depending-on-how-you-count-ly y'rs  - tim






More information about the Python-list mailing list