[Python-checkins] r46671 - in python/trunk: Lib/bsddb/dbobj.py Lib/bsddb/test/test_all.py Lib/test/test_bsddb3.py Misc/NEWS Modules/_bsddb.c

Fredrik Lundh fredrik at pythonware.com
Tue Jun 6 12:50:34 CEST 2006


Neal Norwitz wrote:

> I fixed some parameter strings.  Is there any reason to not use
> METH_NOARGS?  It would get rid of some checks that no args were
> passed.

the usual reason for not using METH_NOARGS is that the 
ParseTuple(":func") approach used to give more helpful
error messages.  maybe that has been changed in more
recent versions...  (no time to check, sorry).

</F>



More information about the Python-checkins mailing list