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

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to