| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -443,8 +443,8 @@ extension module using g++ (e.g., ``g++ -shared -o mymodule.so mymodule.o``). | |||
| 443 | 443 | Can I create an object class with some methods implemented in C and others in Python (e.g. through inheritance)? | |
| 444 | 444 | ---------------------------------------------------------------------------------------------------------------- | |
| 445 | 445 | ||
| 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. | ||
| 448 | 448 | ||
| 449 | 449 | The Boost Python Library (BPL, http://www.boost.org/libs/python/doc/index.html) | |
| 450 | 450 | provides a way of doing this from C++ (i.e. you can inherit from an extension | |
| Back | FazBrowse Home | New Git URL |
0 commit comments