[issue1780] Decimal constructor accepts newline terminated strings

Guido van Rossum report at bugs.python.org
Thu Jan 10 02:04:41 CET 2008

Guido van Rossum added the comment:

I'd propose doing the same thing as int() and float(), which accept and
strip leading and trailing whitespace.

nosy: +gvanrossum

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list