my favorite line of py code so far

Peter Cacioppi peter.cacioppi at
Fri Nov 8 23:43:36 CET 2013

Chris said:

"So... for any given class, it returns a tweaked version that unpacks 
an iterable of its arguments instead of taking separate args. "

It works with any calleable (not just any class), but otherwise your summary is spot on.

"Interesting, perhaps, but not something that'll be needed in the stdlib."

Fair enough. In the interest of self promotion, I'm calling it the Cacioppi combinator. The tattoo apt is for Tues.

More information about the Python-list mailing list