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/2002-October/029407.html below:

PEP239 (Rational Numbers) Reference Implementation and new issues

[Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issues [Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issuesGreg Ewing greg@cosc.canterbury.ac.nz
Wed, 09 Oct 2002 12:36:23 +1300 (NZDT)
Oren Tirosh <oren-py-d@hishome.net>:

> What would your like to see as the repr() of a rational number? The answer
> to this will also determine what you type in your source.

I think it's the other way around -- what you type in the
source determines what repr() should return.

If a constructor, e.g. rat(2,3) is used, then the
repr() should be likewise.

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



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