0

Or, in Python speak, the binding of a local name? I.e.

def foo(x):
    y = x+1
    ...

Is it possible to detect that y is being changed in the second line? Is there some dict in foo that stores locals?

Eduardo
  • 1,115
  • 10
  • 25

0 Answers0