problem updating variable in a module

Tim Rowe digitig at
Fri Sep 26 12:32:08 CEST 2008

2008/9/24 Terry Reedy <tjreedy at>:

> 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