Files
aleksei.kniazevandintellij-monorepo-bot 16786f4b89 added inspection for deleted variables with no qualifiers (PY-4537)
- treat deletion by slice and subscription expressions as read access
- delete instruction in dataflow only inserted for PyReferenceExpression

GitOrigin-RevId: 72ae5e964a1e287e007dabb8f41433b284523a02
2019-10-02 13:08:48 +00:00

3 lines
93 B
Python

values = [100, 200, 300, 400, 500, 600]
del values[1]
print(values) # should not be a warning