This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients kbriggs, mark.dickinson
Date 2009-01-07.17:15:39
SpamBayes Score 0.00073876843
Marked as misclassified No
Message-id <1231348541.64.0.406664149042.issue4869@psf.upfronthosting.co.za>
In-reply-to
Content
I would suggest adding a note to the documentation stating clearly that 
the parameter should be nonzero.  The documentation is also unclear on 
whether a negative parameter value is permitted, although the current code 
works exactly the way that I'd expect for a negative parameter.

If a negative parameter is permitted then the last sentence of the 
docstring:

"""... Returned values range from 0 to positive infinity."""

is inaccurate, since values range from 0 to negative infinity in that 
case.  If it's not supposed to be permitted then perhaps the docstring 
should mention that the parameter should be positive?
History
Date User Action Args
2009-01-07 17:15:41mark.dickinsonsetrecipients: + mark.dickinson, kbriggs
2009-01-07 17:15:41mark.dickinsonsetmessageid: <1231348541.64.0.406664149042.issue4869@psf.upfronthosting.co.za>
2009-01-07 17:15:40mark.dickinsonlinkissue4869 messages
2009-01-07 17:15:39mark.dickinsoncreate