Skip to content

Commit d2a19c2

Browse files
committed
don't mention Python 2.2 (closes python#25375)
1 parent 5f32b23 commit d2a19c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Doc/faq/extending.rst‎

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

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

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

0 commit comments

Comments
 (0)