On Sun, Oct 11, 2015 at 5:15 PM, Chris Angelico <ros...@gmail.com> wrote: > On Sun, Oct 11, 2015 at 4:11 PM, Rustom Mody <rustompm...@gmail.com> 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
... which has just been applied. I'm not sure how long it'll be before you see the change on the web site, but it won't be long. Thanks for the report! ChrisA -- https://mail.python.org/mailman/listinfo/python-list