A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-April/044272.html below:

[Python-Dev] Decimal conversion to string

[Python-Dev] Decimal conversion to string [Python-Dev] Decimal conversion to stringGreg Ewing greg at cosc.canterbury.ac.nz
Wed Apr 14 21:45:09 EDT 2004
Aahz <aahz at pythoncraft.com>:

> I'm not dead-set on using a tuple form, but I think it's more useful for
> someone trying to see the internals of a Decimal instance. 

But who cares about the gory details of the internals?
The most important thing about a repr() is to unambiguously
indicate the object's type; the next is to show something
about its value, as far as reasonably possible. What's
actually inside the object doesn't matter much.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4