LibreOffice Module wizards (master) 1
Public Member Functions | Static Public Attributes | List of all members
scriptforge._Singleton Class Reference
Inheritance diagram for scriptforge._Singleton:
[legend]
Collaboration diagram for scriptforge._Singleton:
[legend]

Public Member Functions

def __call__ (cls, *args, **kwargs)
 

Static Public Attributes

dictionary instances = {}
 

Detailed Description

    A Singleton metaclass design pattern
    Credits: « Python in a Nutshell » by Alex Martelli, O'Reilly

Definition at line 64 of file scriptforge.py.

Member Function Documentation

◆ __call__()

def scriptforge._Singleton.__call__ (   cls,
args,
**  kwargs 
)

Member Data Documentation

◆ instances

dictionary scriptforge._Singleton.instances = {}
static

The documentation for this class was generated from the following file: