Skip to content

Glossary: Software Design Patterns

Singleton

A class that allows only one instance and gives everyone that same instance. In Python a module is already one, since it loads only once.

Where the book teaches it

Related terms

Global mutable state