|
|
@@ -13,7 +13,7 @@ |
|
|
|
% endfor |
|
|
|
${do_indent(indent)} |
|
|
|
} |
|
|
|
% elif isinstance(obj, type([])): |
|
|
|
% elif isinstance(obj, (type([]), type(()))): |
|
|
|
[ |
|
|
|
% for member in obj: |
|
|
|
${do_indent(indent + 1)} |
|
|
@@ -21,8 +21,10 @@ |
|
|
|
% endfor |
|
|
|
${do_indent(indent)} |
|
|
|
] |
|
|
|
% elif isinstance(obj, type("").__bases__[0]): |
|
|
|
"${obj | h}" |
|
|
|
% else: |
|
|
|
${repr(obj) | h} |
|
|
|
${obj | h} |
|
|
|
% endif |
|
|
|
</%def>\ |
|
|
|
<!DOCTYPE html> |
|
|
|