def smartyPants(text, attr=default_smartypants_attr, language='en'):
 return ''.join([t for t in educate_tokens(tokenize(text), attr, language)])

def smartyPants ( text , attr = default_smartypants_attr , language = 'en' ) : return '' . join ( [ t for t in educate_tokens ( tokenize ( text ) , attr , language ) ] )
main function for "traditional" use .