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/029154.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 issuesSkip Montanaro skip@pobox.com
Thu, 3 Oct 2002 22:00:37 -0500
    Greg> Guido:
    >> I think the slice notation e.g. x[1:4] kills that idea.

    Greg> Maybe if ":" were a sliceobject-creating operator usable anwyere,
    Greg> not just in [...], and you added arithmetic methods to
    Greg> sliceobjects so you could use them as rationals...

Does x[1:4] return a slice out of x or x[rational(1,4)]?

Skip




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