コード例 #1
0
ファイル: puser.py プロジェクト: boon-code/picklebuild3
 def __init__(self, name):
     """Initializes a new instance.
     
     @param name: Name of this node.
     """
     d = {'name' : name}
     HiddenObject.__init__(self, d)
コード例 #2
0
ファイル: puser.py プロジェクト: boon-code/picklebuild3
 def __init__(self, mod_name, name):
     """Initializes a new instances.
     
     @param mod_name: Name of the external module that this node
                      references to.
     @param name:     Name of the node.
     """
     d = {'name' : name, 'module' : mod_name}
     HiddenObject.__init__(self, d)