On Mon, Dec 23, 2013 at 1:33 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > Anyway, I may be completely misinterpreting what I'm reading. Perhaps the > assertion is checking a function invariant ("one of the strategies will > always succeed") in which case you're doing it exactly right and I should > shut up now :-)
Or maybe it has a lengthy piece of error trapping code that wasn't germane to the discussion, and for brevity was squished down to a quick little assert :) ChrisA -- https://mail.python.org/mailman/listinfo/python-list