Tim Chase:

>    __repr__ = __str__

I don't know if that's a good practice.


>      try:
>        data.setdefault(
>          state, {}).setdefault(
>          county, {}).setdefault(
>          cls, Attendence(max_students)).accrue(enrolled)
>      except TooManyAttendants:

I suggest to decompress that part a little, to make it a little more
readable.

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to