#NEWLINE# def glyphicon( self , icon , * args , **kwargs ) : #NEWLINE# #INDENT# 'Bootstrap Icon - see http://getbootstrap.com/components/#glyphicons' #NEWLINE# cls = kwargs . get ( 'cls' , '' ) . split ( ) #NEWLINE# cls . append ( 'glyphicon' ) #NEWLINE# cls . append ( 'glyphicon-{}' . format ( icon ) ) #NEWLINE# kwargs [ 'cls' ] = cls #NEWLINE# return self . stack ( * args , typ = 'span' , ** kwargs )