On 01/27/12 13:49, Danek Duvall wrote:
Shawn Walker wrote:

The other thing (of course) is the pydoc clearly shows 'mode' as a
keyword argument :-(

That's exactly how I read it, and why I made the mistake I did.  The
problem is that there's no concise way of distinguishing an optional
argument with a default from a keyword argument in the documentation.

$ python -d
>>> def foo(a, b, c):
...   print a, b, c
...
>>> foo(a=1, b=2, c=3)
1 2 3
>>>

That's the case I was speaking of...

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to