subclassable types

Wolfgang Maier wolfgang.maier at
Fri Feb 22 11:00:26 CET 2013

Jean-Michel Pichavant <jeanmichel <at>> writes:

> Note that range is a function, not a class, hence the error when inheriting
from it.

I was referring to range in Python3, where it is a class. Should have pointed
that out.

More information about the Python-list mailing list