Update test_demo/demo_flaws.py

This commit is contained in:
2026-03-15 12:28:42 +08:00
parent 77fd09e6d2
commit b5102b6835

View File

@@ -31,12 +31,12 @@ def long_line():
# 缺陷9: 缺少空格 # 缺陷9: 缺少空格
def missing_spaces(): # def missing_spaces():
"""缺少必要空格""" # """缺少必要空格"""
x=1+2 # x=1+2
y=3*99 # y=3*99
if x==1: # if x==1:
print(x) # print(x)
# 缺陷1: 未使用的导入 # 缺陷1: 未使用的导入