Public feed #602738

Miscellany

public python v1 · immutable
Raw Edit
·published 2007-07-04 08:46 UTC
rendered paste body
>>> def foo():...     print bar... >>> foo.__dict__['bar'] = '123'>>> foo()Traceback (most recent call last):  File "<stdin>", line 1, in ?  File "<stdin>", line 2, in fooNameError: global name 'bar' is not defined