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

Fredrik Lundh fredrik at pythonware.com
Wed Oct 4 17:07:54 EDT 2006


Georg Brandl wrote:

> This is an issue in most Python documentation: you're not told
> if the described function is implemented in C, and if it is
> keyword arg-enabled. The arguments must be given names though,
> to be able to document them.

the general rule is that if the documentation doesn't explicitly say 
that something is a keyword argument, it isn't, and shouldn't be treated 
as such.

</F>




More information about the Python-list mailing list