Classes & Iterators - Dive Into Python 3 - 0 views
-
Comprehensions are just a simple form of iterators. Generators are just a simple form of iterators
-
The first argument of every class method, including the __init__() method, is always a reference to the current instance of the class. By convention, this argument is named self.
-
self is not a reserved word in Python, merely a naming convention
- ...6 more annotations...