示例#1
0
 def __init__(self, sequence=tuple()):
     DependencyCell.__init__(self)
     _ListBase.__init__(self, sequence)
示例#2
0
 def unregister_dependant(self, dependant):
     DependencyCell.unregister_dependant(self, dependant)
     if not self.dependants:
         self.empty_callback()
示例#3
0
    def __init__(self, *args, **kwargs):
        DependencyCell.__init__(self)

        # A dictionary of subcells.
        self._key_subcells = {}
        dict.__init__(self, *args, **kwargs)
示例#4
0
 def __init__(self, sequence=tuple()):
     DependencyCell.__init__(self)
     set.__init__(self, sequence)
示例#5
0
 def __init__(self, empty_callback=lambda:None):
     DependencyCell.__init__(self)
     # Called when there are no more dependants:
     self.empty_callback = empty_callback
示例#6
0
    def __init__(self, *args, **kwargs):
        DependencyCell.__init__(self)

        # A dictionary of subcells.
        self._key_subcells = {}
        dict.__init__(self, *args, **kwargs)
示例#7
0
 def unregister_dependant(self, dependant):
     DependencyCell.unregister_dependant(self, dependant)
     if not self.dependants:
         self.empty_callback()
示例#8
0
 def __init__(self, empty_callback=lambda: None):
     DependencyCell.__init__(self)
     # Called when there are no more dependants:
     self.empty_callback = empty_callback
示例#9
0
 def __init__(self, sequence=tuple()):
     DependencyCell.__init__(self)
     set.__init__(self, sequence)
示例#10
0
 def __init__(self, sequence=tuple()):
     DependencyCell.__init__(self)
     _ListBase.__init__(self, sequence)