don't mention Python 2.2 (closes #25375)

This commit is contained in:
Benjamin Peterson 2015-10-10 23:23:55 -07:00
parent 5f32b236f1
commit d2a19c2c67
1 changed files with 2 additions and 2 deletions

View File

@ -440,8 +440,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