Sorry, another simple question

Ken Kinder ken at _nospam_ken.x13.com
Wed May 26 00:38:42 EDT 1999


Joseph Kuan wrote:
> 
>         How to derive the range function for a particular class?
> 
> I tried with __range__ but it doesn't work.

I don't understand, why would you?  Range doesn't "take" a class, it
takes numbers!  It returns a list of numbers.  Give an example of what
you want to do.




More information about the Python-list mailing list