(cls, key, *args)
This reads or sets the global settings stored in class.settings.
This reads or sets the global settings stored in class.settings.
This reads or sets the global settings stored in class . settings .
def global_config(cls, key, *args):
        ''' This reads or sets the global settings stored in class.settings. '''
        if args:
            cls.settings = cls.settings.copy() # Make settings local to class
            cls.settings[key] = args[0]
        else:
            return cls.settings[key]
def global_config ( cls , key , * args ) : if args : cls . settings = cls . settings . copy ( ) # Make settings local to class cls . settings [ key ] = args [ 0 ] else : return cls . settings [ key ]