[Python-Dev] Re: [Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.134,1.135
M.-A. Lemburg
mal@lemburg.com
Wed, 11 Jun 2003 10:36:06 +0200
rhettinger@users.sourceforge.net wrote:
> Update of /cvsroot/python/python/dist/src/Doc/lib
> In directory sc8-pr-cvs1:/tmp/cvs-serv19944
>
> Modified Files:
> libfuncs.tex
> Log Message:
> SF bug #660022: parameters for int(), str(), etc.
>
> * Indicate that arguments are optional for most builtin type constructors.
> ...
> ! \begin{funcdesc}{bool}{\optional{x}}
This sounds weird:
* Why should object constructors have an optional argument without
a default value ? Why aren't these default values documented ?
* This "feature" sounds like it will hide programming errors.
* What is the purpose of the "feature" ?
--
Marc-Andre Lemburg
eGenix.com
Professional Python Software directly from the Source (#1, Jun 11 2003)
>>> Python/Zope Products & Consulting ... http://www.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
EuroPython 2003, Charleroi, Belgium: 13 days left