[Python-de] Initialisierung einer Klasse

Juergen Hermann jh at web.de
Wed Aug 15 20:34:00 EDT 2001


On Wed, 15 Aug 2001 14:47:08 +0200, Carsten Tilch wrote:

>    def __init__(self,dic = {}):
>        self.dic = dic

    def __init__(self,dic = None):
        self.dic = dic or {}





More information about the Python-de mailing list