16. Classes and Objects II
Classes are a big topic in Python. Chapter 15 introduced most of the basic syntax, but there’s much more involved. Python provides many ways to make your classes and objects expressive, convenient, and powerful.
The object-oriented topics we’ll look at in this chapter include such “Pythonic” features as
Doc strings
Testing types at run time
Inheritance
Class methods and variables
Getting Help from Doc Strings
As I mentioned ...
Get Python Without Fear now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.