<s> import sys <EOL> class LocalClasses ( dict ) : <EOL> def add ( self , cls ) : <EOL> self [ cls . __name__ ] = cls <EOL> class Config ( object ) : <EOL> """<STR_LIT>""" <EOL> use_jsonclass = True <EOL> serialize_method = '<STR_LIT>' <EOL> ignore_attribute = '<STR_LIT>' <EOL> classes = LocalClasses ( ) <EOL> version = <NUM_LIT> <EOL> user_agent = '<STR_LIT>' % '<STR_LIT:.>' . join ( [ str ( ver ) for ver in sys . version_info [ <NUM_LIT:0> : <NUM_LIT:3> ] ] ) <EOL> _instance = None <EOL> @ classmethod <EOL> def instance ( cls ) : <EOL> if not cls . _instance : <EOL> cls . _instance = cls ( ) <EOL> return cls . _instance </s>
