]> granicus.if.org Git - python/commitdiff
don't mention Python 2.2 (closes #25375)
authorBenjamin Peterson <benjamin@python.org>
Sun, 11 Oct 2015 06:23:55 +0000 (23:23 -0700)
committerBenjamin Peterson <benjamin@python.org>
Sun, 11 Oct 2015 06:23:55 +0000 (23:23 -0700)
Doc/faq/extending.rst

index ade88ae4dd29d3b19098c0507e52781e6ed6ca46..6e9e1540283fca28cfa9752e94ef80acecc47ad8 100644 (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