Chris Angelico <ros...@gmail.com>: > *headscratch* > > So this is okay: > > def f(): > for i in range(5): > def g(): ... > > But this isn't: > > class C: > for i in range(5): > def m(self): ... > > I've missed something here.
No, you got it right. Marko -- https://mail.python.org/mailman/listinfo/python-list