我尝试了几种不同的缩进“样式”,但VSCode坚持认为第70行附近存在缩进错误。你知道吗
对于record-identifier语句和下面的所有语句,都缩进到IDE中。你知道吗
for node in nodes:
identifier = node['id']
group = node['group']
# Checking if the node is immediately related to the viewer
if (group == viewer_group):
note = {'source': identifier,
VSCode快照:
Tags:
在for之后需要缩进,直到循环结束
相关问题 更多 >
编程相关推荐