[Python-Dev] Generating nested data structures with blocks

Walter Dörwald walter at livinglogic.de
Mon May 2 18:40:06 CEST 2005


Walter Dörwald wrote:

> [...]
> def blist(list):
> 	def enter(parent=None):

Of course this was meant to be:

class blist(list):
     der enter(self, parent=None):

Bye,
    Walter Dörwald


More information about the Python-Dev mailing list