C. Glossary
attribute: A named quality attached to an object. For example, for a Dog class, every Dog object might have the attributes breed, name, and age, the first two of which are strings and the third of which is a number. In Python, attributes are usually instance variables or properties.
Each attribute has a value as well as a name, and each is accessed as object .attribute_name.
base class: A class that another class inherits from; also called a superclass. See also superclass.
bitwise operations: An operation applied to individual bits of a number (which must be in integer format). For example, the integers 14 and 9 can be represented as binary-radix expressions 0b1110 and 0b1001, respectively. The expression 0b1110 & 0b1001 applies ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access