def select_template_from_string(arg):
if '<STR_LIT:U+002C>' in arg:<EOL><INDENT>tpl = loader.select_template(<EOL>[tn.strip() for tn in arg.split('<STR_LIT:U+002C>')])<EOL><DEDENT>else:<EOL><INDENT>tpl = loader.get_template(arg)<EOL><DEDENT>return tpl<EOL>
Select a template from a string, which can include multiple
template paths separated by commas.