[Python-ideas] Treat underscores specially in argument lists

Steven D'Aprano steve at pearwood.info
Tue Feb 17 03:41:09 CET 2015


On Mon, Feb 16, 2015 at 07:23:30PM -0600, Ryan Gonzalez wrote:
> Often, underscores are used in function argument lists:
> 
> def f(_): pass
> 
> However, sometimes you want to ignore more than one argument, in which case
> this doesn't work:

Why are you ignoring *any* arguments?


-- 
Steve


More information about the Python-ideas mailing list