def find_template_variables(code):
 return re.findall(re_template_var, code)

def find_template_variables ( code ) : return re . findall ( re_template_var , code )
return a list of template variables found in *code* .