set x = {'a':1}
如何查明 x 是否是 jinja 中的字典?我试图说是否可迭代,但无法区分列表、字符串或字典。我想知道变量是否是字典。
python jinja2
jinja2 ×1
python ×1