The standard library

Greg Ewing greg at cosc.canterbury.ac.nz
Thu Jul 5 07:27:33 CEST 2001


Quinn Dunkan 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.

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list