@save<EOL><INDENT>@load<EOL>def setOptions(self, glob=False, **kwargs):<DEDENT>
if glob:<EOL><INDENT>self.globalOptions.update(kwargs)<EOL><DEDENT>else:<EOL><INDENT>self.options.update(kwargs)<EOL><DEDENT>
Set option(s).

        :glob: If True, stores specified options globally.
        :kwargs: Dictionary of options and values to set.