[python-nl] extending classes

eric casteleijn eric at infrae.com
Fri Apr 28 13:13:05 CEST 2006


> # de test2 klasse:
> class test2(test):
>   def __init__(self):
>     super(test2, self).__init__()
>     self.a = str

Uit pure nieuwsgierigheid: wat probeer je te doen met self.a = str ? ;)


More information about the Python-nl mailing list