From: Benjamin Peterson Date: Sun, 11 Oct 2015 06:23:55 +0000 (-0700) Subject: don't mention Python 2.2 (closes #25375) X-Git-Tag: v3.5.1rc1~179^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0071b3dfcb9c5438ca404e173d4728386ccce580;p=python don't mention Python 2.2 (closes #25375) --- diff --git a/Doc/faq/extending.rst b/Doc/faq/extending.rst index ae0d905ec4..7bb4dc2e60 100644 --- a/Doc/faq/extending.rst +++ b/Doc/faq/extending.rst @@ -443,8 +443,8 @@ extension module using g++ (e.g., ``g++ -shared -o mymodule.so mymodule.o``). Can I create an object class with some methods implemented in C and others in Python (e.g. through inheritance)? ---------------------------------------------------------------------------------------------------------------- -In Python 2.2, you can inherit from built-in classes such as :class:`int`, -:class:`list`, :class:`dict`, etc. +Yes, you can inherit from built-in classes such as :class:`int`, :class:`list`, +:class:`dict`, etc. The Boost Python Library (BPL, http://www.boost.org/libs/python/doc/index.html) provides a way of doing this from C++ (i.e. you can inherit from an extension