comparison Port.py @ 3:8856efb6516c

dmx out example node and types
author drewp
date Thu, 04 Jul 2002 10:04:18 +0000
parents 022e35e17182
children
comparison
equal deleted inserted replaced
2:022e35e17182 3:8856efb6516c
13 return self[key] 13 return self[key]
14 def __getitem__(self, key): 14 def __getitem__(self, key):
15 pass 15 pass
16 16
17 class InputPort(Port): 17 class InputPort(Port):
18 def __init__(self, required=1, maxpins=ANY): 18 def __init__(self, allowedtype, required=1, maxpins=ANY):
19 self.pins = [] 19 self.pins = []
20 20
21 class OutputPort(Port): 21 class OutputPort(Port):
22 def __init__(self): 22 def __init__(self):
23 self.pins = [] 23 self.pins = []