Ñò ·M=Kc@s dZdefd„ƒYZdS(s˜singleton.py: A Python implementation of the Singleton pattern. For documentation, see: http://www.nmt.edu/tcc/help/lang/python/examples/logscan/ t SingletoncBseZdZhZd„ZRS(süBase class for singleton objects. State/Invariants: Singleton.__classMap: [ a dictionary whose keys are the classes instantiated so far, and each related value is the single instance of that class ] cOsDyti|SWn.tj o"ti|ƒ}ti|<|SXdS(s Instance factory. [ if cls is a key in Singleton.__classMap -> return the related value else -> Singleton.__classMap[cls] := a new object of class cls return that new object ] N(Rt_Singleton__classMaptKeyErrortobjectt__new__(tclstargstkwtinst((s./u/www/docs/tcc/projects/pystyler/singleton.pyRs (t__name__t __module__t__doc__RR(((s./u/www/docs/tcc/projects/pystyler/singleton.pyRsN(R RR(((s./u/www/docs/tcc/projects/pystyler/singleton.pyts