2 Oct
2011
2 Oct
'11
1:21 a.m.
On Sat, Oct 1, 2011 at 6:14 PM, Steven D'Aprano
Requiring collection to explicitly inherit from a Sequence ABC breaks duck typing and is anti-Pythonic.
Actually, my suggestion was just that Sequence is one possible (but clean) way to obtain the behavior; one could *of course* reimplement the functionality without recourse to Sequence if they desired. Cheers, Chris