Update locals() / resolved

Thomas Heller theller at python.net
Tue Apr 30 15:08:50 EDT 2002


"Magnus Lie Hetland" <mlh at vier.idi.ntnu.no> wrote in message news:slrnactp07.pv.mlh at vier.idi.ntnu.no...
> ... I've got plenty of
> code with stuff like
>
>   file = open('foo.bar')
>

Perhaps you should now write

    open = file('foo.bar')

;-)

Thomas





More information about the Python-list mailing list