Python scoping

Chris Angelico rosuav at gmail.com
Mon Jun 20 23:21:18 EDT 2011


On Tue, Jun 21, 2011 at 12:38 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> The *binding* is scoped.
>

And the binding follows the exact same rules as anything else would.
It has scope and visibility. In terms of the OP, the binding IS like a
variable.

ChrisA



More information about the Python-list mailing list