Steven Bethard wrote: ... > Using a two element list to store a pair of counts has > a bad code smell to me. ...
Why is that? It strikes me as the cleanest way to solve that problem, as long as it's easy enough to figure out what each element really represents. You could name each element, but for a block of code eight lines long, doing anything more descriptive would be too verbose. Adam -- http://mail.python.org/mailman/listinfo/python-list