Hi All,

Is there a metaclass-y way I could cause the following:

class TheParser(Parser):
    def handle_ARecord(self):
        pass
    def handle_ARecord(self):
        pass

...to raise an exception as a result of the 'handle_ARecord' name being reused?

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to