报告字符串格式化操作中的错误。
示例 1:
"Hello {1}".format("people")
示例 2:
def bar(): return 1 "%s %s" % bar()
修复方法是重写字符串格式化片段,以遵守格式化语法。