(scheme_name)
return type(
        'PygmentsStyle',
        (pygments.style.Style,),
        {'styles': SYNTAX_HIGHLIGHTING_STYLES[scheme_name]}
    )
Dynamically create a PygmentsStyle class,
    given the name of one of the above highlighting schemes.
Dynamically create a PygmentsStyle class,
    given the name of one of the above highlighting schemes.
Dynamically create a PygmentsStyle class given the name of one of the above highlighting schemes .
def make_pygments_style(scheme_name):
    """
    Dynamically create a PygmentsStyle class,
    given the name of one of the above highlighting schemes.
    """
    return type(
        'PygmentsStyle',
        (pygments.style.Style,),
        {'styles': SYNTAX_HIGHLIGHTING_STYLES[scheme_name]}
    )
def make_pygments_style ( scheme_name ) : return type ( 'PygmentsStyle' , ( pygments . style . Style , ) , { 'styles' : SYNTAX_HIGHLIGHTING_STYLES [ scheme_name ] } )