def set_default_style(style):
global default_style<EOL>if style == '<STR_LIT>':<EOL><INDENT>style = default_dark_style<EOL><DEDENT>elif style == '<STR_LIT>':<EOL><INDENT>style = default_light_style<EOL><DEDENT>if not issubclass(style, Style):<EOL><INDENT>raise TypeError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(repr(style))<EOL>)<EOL><DEDENT>default_style = style<EOL>
Sets default global style to be used by ``prettyprinter.cpprint``.

    :param style: the style to set, either subclass of
                  ``pygments.styles.Style`` or one of ``'dark'``, ``'light'``