alex23 <wuwe...@gmail.com> wrote: > self.__class__ = BigNumbers if n > 100 else SmallThing
That should, of course, be SmallNumbers :) -- http://mail.python.org/mailman/listinfo/python-list
alex23 <wuwe...@gmail.com> wrote: > self.__class__ = BigNumbers if n > 100 else SmallThing
That should, of course, be SmallNumbers :) -- http://mail.python.org/mailman/listinfo/python-list