The standard library
Fredrik Lundh
fredrik at pythonware.com
Thu Jul 5 03:13:08 EDT 2001
Greg Ewing wrote:
>
> > And a lot of C functions that could (and should) accept keyword arguments
> > don't. Even when the docs suggest they do, they don't. For example, you
> > should be able to write 'foo bar baz'.split(maxsplit=1)
>
> As long as there's a difference, there should be a documentation
> convention to distinguish between argument names which are
> keywords and those which aren't.
the usual convention is that unless the documentation explicitly
tells you that something is a keyword argument, it isn't.
makes sense to me.
</F>
More information about the Python-list
mailing list