[Python-ideas] defaultattrgetter

Steven D'Aprano steve at pearwood.info
Thu Dec 22 00:33:00 CET 2011


John O'Connor wrote:
> Pythons:
> 
> What are your thoughts on the concept of a `defaultattrgetter`? 

Why create a new function for it? Why not just give attrgetter a keyword only 
argument default?


-- 
Steven




More information about the Python-ideas mailing list