What value should be passed to make a function use the default argument value?

hanumizzle hanumizzle at gmail.com
Fri Oct 6 05:56:19 EDT 2006


On 6 Oct 2006 09:21:11 GMT, Antoon Pardon <apardon at forel.vub.ac.be> wrote:
> On 2006-10-06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> > Antoon Pardon wrote:
> >
> >> Is this general rules documeted somewhere? My impression is that readers
> >> of the documentation will treat arguments as keyword arguments unless
> >> this is explicitly contradicted.
> >
> > Sorry, I missed that this was comp.lang.python.alternate.reality.  My
> > mistake.
> >
>
> A personal attack won't make my argument go away. It also doesn't
> answer my question.

Not sure exactly what is going on / being argued about in this thread but HTH :?

http://docs.python.org/tut/node6.html

This doesn't say anything positive or negative about the practice in
question, but does point out that it is possible. I think it is a
reasonable assumption that if it isn't necessary, most users will
elide the keywords.

-- Theerasak



More information about the Python-list mailing list