alp*_*per 5 python pylint f-string
对于以下行:
print("{0: <24}".format("==> core=") + str(my_dict["core"]))
Run Code Online (Sandbox Code Playgroud)
我收到以下警告消息:
[考虑使用 f 字符串] 格式化可能是 f 字符串的常规字符串 [C0209]
我可以使用重新格式化它吗f-string?
| 归档时间: |
|
| 查看次数: |
8582 次 |
| 最近记录: |