PEP proposal for round(x,n) enhancement

Michael Abbott michael at rcp.co.uk
Tue Sep 11 03:18:49 EDT 2001


Ignacio Vazquez-Abrams <ignacio at openservices.net> wrote in 
news:mailman.1000159037.21288.python-list at python.org:

> On Mon, 10 Sep 2001, Christopher Smith wrote:
> 
>> I would like to see an additional syntax added to the round function.
> 
> How about a new function instead: sigfig(x, n). That way we don't end up
> overloading round() too much.

Much better idea!




More information about the Python-list mailing list