Terry Reedy <tjre...@udel.edu> writes on Fri, 23 Oct 2009 03:04:41 -0400:
> Consider this:
> 
> def blackhole(*args, **kwds): pass
> 
> The fact that it accept args that it ignores could be considered
> misleading or even a bug.

Maybe, it could. But, it is by no means necessary.

In mathematics, there is a set of important functions which behave precisely
as described above (there ignore their arguments); they are called
"constant functions"....
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to