mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-14 08:35:21 +00:00
Update del statement del [x]
available
This commit is contained in:
parent
f869bc8371
commit
0b331cc916
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ impl Compiler {
|
|||
self.compile_expression(slice)?;
|
||||
self.emit(Instruction::DeleteSubscript);
|
||||
}
|
||||
ast::ExprKind::Tuple { elts, .. } => {
|
||||
ast::ExprKind::Tuple { elts, .. } | ast::ExprKind::List { elts, .. } => {
|
||||
for element in elts {
|
||||
self.compile_delete(element)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue