Skip to content

Commit

Permalink
fix(metadata): forgot __delitem__ on MetaList
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabsunter committed Jun 26, 2023
1 parent c7f6735 commit 6d657ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions panflute/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,9 @@ def __getitem__(self, i):
def __setitem__(self, i, v):
self.content[i] = builtin2meta(v)

def __delitem__(self, i):
del self.content[i]

def __len__(self):
return len(self.content)

Expand Down

0 comments on commit 6d657ad

Please sign in to comment.