Chapter 01: Basic Python Programming

Intercepting Built-in Methods. The inheritance mechanism in Python provides an interesting and very powerful feature. Most of the operations that Python performs on objects are implemented internally as methods of whatever type the object happens to be. That means you can over-ride those methods by defining your own methods with the same name. ................
................