Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Message(object):
- def __init__(self, text):
- self.message_text = text
- self.valid_words = someFunction(words)
- class PlaintextMessage(Message):
- def __init__(self, text):
- Message.__init__(self, text)
- self.valid_words = someFunction(words)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement