[Python-Dev] range objects in 3.x

Steven D'Aprano steve at pearwood.info
Sat Sep 24 03:36:07 CEST 2011


Ethan Furman wrote:
> A question came up on StackOverflow about range objects and floating 
> point numbers.  I thought about writing an frange that did for floats 
> what range does for ints, 


For what it's worth, here's mine:

http://code.activestate.com/recipes/577068-floating-point-range/



-- 
Steven


More information about the Python-Dev mailing list