Question d’entretien chez ScienceLogic

What is a singleton and how would you implement it in Python?

Réponse à la question d'entretien

Utilisateur anonyme

4 nov. 2017

A class that can have a single instantiated object. mplemented using the suggested method at Python.org