On Dec 8, 12:01 pm, anthony.to... at gmail.com wrote: > > It would be nice to be able to do the following instead: > > class C: > def createfunc(self): > def self.func(arg): > return arg + 1 > The above example should have read as follows: class C: def createfunc(self, arg): def self.func(arg): return arg + 1 ----- Anthony Tolle