stupid simple scope issue
JohnD
john at nowhere.com
Mon Aug 5 03:21:09 EDT 2013
On 2013-08-04, Chris Angelico <rosuav at gmail.com> wrote:
> On Sun, Aug 4, 2013 at 8:21 PM, JohnD <john at nowhere.com> wrote:
>> On 2013-08-04, Chris Angelico <rosuav at gmail.com> wrote:
[...]
>
> Python does have a slightly odd (compared to other languages)
> interpretation of "variable assignments" (name bindings, really)
> inside a class block. Trips up a lot of people.
Changed the code: >10% smaller, more elegant, and it seems to work!
If it really works I am close to half-way...
More information about the Python-list
mailing list