Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
18 lines (14 loc) · 1.02 KB

File metadata and controls

18 lines (14 loc) · 1.02 KB
Copy raw file
Download raw file
Edit and raw actions

Contents | Prev (3 Program Organization) | Next (5 Inner Workings of Python Objects)

4. Classes and Objects

So far, our programs have only used built-in Python datatypes. In this section, we introduce the concept of classes and objects. You'll learn about the class statement that allows you to make new objects. We'll also introduce the concept of inheritance, a tool that is commonly use to build extensible programs. Finally, we'll look at a few other features of classes including special methods, dynamic attribute lookup, and defining new exceptions.

Contents | Prev (3 Program Organization) | Next (5 Inner Workings of Python Objects)

Morty Proxy This is a proxified and sanitized view of the page, visit original site.