Pregunta de entrevista de ScienceLogic

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

Respuesta de la entrevista

Anónimo

4 nov 2017

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