def __new__(self, *args, **kwargs):
if self._instance is None:<EOL><INDENT>self._instance = object.__new__(self, *args, **kwargs)<EOL><DEDENT>return self._instance<EOL>
Return instance of class, creating if necessary