Glossary

A

abstract base class (ABC)

A class that specifies an interface that must be implemented by any derived class. An ABC cannot itself be instantiated. (See also virtual subclassing.)

abstract syntax tree (AST)

A tree data structure that represents the overall structure of the code. Used by some static analyzers, such as Bandit.

accelerator module

A binary extension module that offers behavior equivalent to that of a pure Python module but that is written in C, making it faster and able to bypass the GIL. (See also wrapper module.)

alias (v.)

To bind a mutable value to more than one name. Mutations performed on a value bound to one name will be visible on all names bound to that mutable value.

and

A logical operator where both operand ...

Get Dead Simple Python 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.