Popular recipes by Ed Blake http://code.activestate.com/recipes/users/4173678/2010-04-14T19:52:33-07:00ActiveState Code RecipesDefault arg special action (Python) 2010-04-14T19:52:33-07:00Ed Blakehttp://code.activestate.com/recipes/users/4173678/http://code.activestate.com/recipes/577194-default-arg-special-action/ <p style="color: grey"> Python recipe 577194 by <a href="/recipes/users/4173678/">Ed Blake</a> (<a href="/recipes/tags/default_arguments/">default_arguments</a>, <a href="/recipes/tags/identity/">identity</a>, <a href="/recipes/tags/oop/">oop</a>). </p> <p>A way to allow functions with 0, 1, and -1 arguments! For those times you want to differentiate a no value argument from a non-value argument.</p>