> Say I create a new int-like class, not derived from int, named MyInt. > And I want to use it like an int, maybe to print it as a hex number:
Then derive that class from "int", for heaven's sake! Bill _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
