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/2011-September/113679.html below:

[Python-Dev] range objects in 3.x

[Python-Dev] range objects in 3.x [Python-Dev] range objects in 3.xSteven D'Aprano steve at pearwood.info
Tue Sep 27 18:00:15 CEST 2011
Alexander Belopolsky wrote:
> On Tue, Sep 27, 2011 at 2:23 AM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> ..
>> And I don't like "linspace" either. Something more self
>> explanatory such as "subdivide" or "interpolate" might
>> be better.
> 
> "Grid" would be nice and short, but may suggest 2-dimentional result.
>  Whatever word we choose, I think it should be a noun rather than a
> verb.  ("Comb" (noun) brings up the right image, but is probably too
> informal  and may be confused with a short for "combination.")

I came up with "spread".

Here's my second attempt, which offers both count/start/end and 
count/start/step APIs:

http://code.activestate.com/recipes/577881-equally-spaced-floats-part-2/




-- 
Steven

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