Python 2.2 or 3.5
Rustom Mody
rustompmody at gmail.com
Sun Oct 11 02:48:00 EDT 2015
On Sunday, October 11, 2015 at 12:04:18 PM UTC+5:30, Chris Angelico wrote:
> On Sun, Oct 11, 2015 at 5:15 PM, Chris Angelico wrote:
> > On Sun, Oct 11, 2015 at 4:11 PM, Rustom Mody wrote:
> >> At https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance
> >>
> >> it says
> >> In Python 2.2, you can inherit from built-in classes such as int, list, dict, etc.
> >>
> >> So is it 3.5 or 2.2?
> >
> > More accurate would be "Since Python 2.2, you can etc etc". Every 3.x
> > version permits this, as do all 2.x back as far as 2.2. Seems to
> > warrant a docs patch.
> >
> > http://bugs.python.org/issue25375
Thanks -- More useful than the other responses
More information about the Python-list
mailing list