pmacs3/code_examples/TEST.txt

17 lines
352 B
Plaintext
Raw Normal View History

2007-03-06 10:05:38 -05:00
# TEST DATA
application FreeBSD
# abstract class
class Method:
def __init__(self, buffer, **vargs):
self.buffer = buffer
for (varg, vval) in vargs.iteritems():
setattr(self, varg, vval)
def name(self):
return ""
def execute(self):
raise Exception, "Unimplemented Method: %s" % (self.name())