exo_k.util.singleton

Just contains a singleton class. Pretty useful. Class taken from taurex 3.

Module Contents

class exo_k.util.singleton.Singleton[source]

Bases: object

A singleton for your usage. When inheriting do not implement __init__ instead override init()

abstract init(*args, **kwds)[source]

Override to act as an init

classmethod reset_singleton()[source]

Reset the internal state of a singleton