On 2/22/06, Neil Schemenauer <[EMAIL PROTECTED]> wrote:
    @classmethod
    def fromhex(self, data):
        data = "" '', data)
        return bytes(binascii.unhexlify(data))

If it's to be a classmethod, I guess that should be "return self( binascii.unhexlify(data))".

-j
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to