diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-10-11 06:23:55 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-10-11 06:23:55 (GMT) |
commit | 0071b3dfcb9c5438ca404e173d4728386ccce580 (patch) | |
tree | 01f6a5258c669f99f6225dab6ff7defc2fbd6fcc /Doc/faq/extending.rst | |
parent | 414918a939b02aa3f7048ba341a3f6862ab9a71e (diff) | |
download | cpython-0071b3dfcb9c5438ca404e173d4728386ccce580.zip cpython-0071b3dfcb9c5438ca404e173d4728386ccce580.tar.gz cpython-0071b3dfcb9c5438ca404e173d4728386ccce580.tar.bz2 |
don't mention Python 2.2 (closes #25375)
Diffstat (limited to 'Doc/faq/extending.rst')
-rw-r--r-- | Doc/faq/extending.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/extending.rst b/Doc/faq/extending.rst index ae0d905..7bb4dc2 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 |