A opener image of Glossary, with a sequence of digits 0 and 1 resembling a wave.

© Yuri Hoyda/Shutterstock.

Glossary

A

abstract class A convenience class for defining instance variables and methods used by all of the child classes; cannot be used to construct objects.

abstract method A method in an abstract class that must be implemented in all concrete child classes.

abstraction A concept or idea not associated with any specific instance.

accessor methods Allow code outside the class to access the current values of the instance variables. Also referred to as “getter methods” because the word “get” often appears in the name.

accumulator pattern A commonly occurring pattern where a total is computed by repeatedly computing ...

Get Python Programming in Context, 4th Edition 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.