from future import pass_function

Nicholas Cole nicholas.cole at
Wed Jul 25 12:33:24 CEST 2012

On Wed, Jul 25, 2012 at 9:40 AM, Ulrich Eckhardt
<ulrich.eckhardt at> wrote:
> What do you think?

I enjoyed the question, but actually I don't think this is a good idea.

1.  If you really needed something like this, you could define it easily.

def do_nothing(*args, **keywords):
   return None

2. If it were a built-in function, you would be able to override it,
and then there would be chaos.



More information about the Python-list mailing list