> If you want to just declare that name exist, but doesn't want to > declare the type, why don't you just do this: > > def somefunc(): > nonlocal = nonlocal > local = 0 # or None or [] or an initial value > # > return nonlocal * local
Err.. I don't quite get. How it may help me? Could you explain? -- Filip Gruszczyński -- http://mail.python.org/mailman/listinfo/python-list