problem updating variable in a module

Tim Rowe digitig at gmail.com
Fri Sep 26 06:32:08 EDT 2008


2008/9/24 Terry Reedy <tjreedy at udel.edu>:

> With the mod/mod1 mixup fixed, you do not need the update function.
>  mod.a = 20
> should do the same thing.

I was assuming that the update function was just to illustrate the
access problem the writer was having. I think the chances are the
problem is due to a typo or some such (happens to us all!) but without
seeing the actual code there's not a lot we can do.

-- 
Tim Rowe



More information about the Python-list mailing list