Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 0071b3d

Browse files
committed
don't mention Python 2.2 (closes python#25375)
1 parent 414918a commit 0071b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/faq/extending.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ extension module using g++ (e.g., ``g++ -shared -o mymodule.so mymodule.o``).
443443
Can I create an object class with some methods implemented in C and others in Python (e.g. through inheritance)?
444444
----------------------------------------------------------------------------------------------------------------
445445

446-
In Python 2.2, you can inherit from built-in classes such as :class:`int`,
447-
:class:`list`, :class:`dict`, etc.
446+
Yes, you can inherit from built-in classes such as :class:`int`, :class:`list`,
447+
:class:`dict`, etc.
448448

449449
The Boost Python Library (BPL, http://www.boost.org/libs/python/doc/index.html)
450450
provides a way of doing this from C++ (i.e. you can inherit from an extension

0 commit comments

Comments
 (0)