Skip to content

Commit 0f10303

Browse files
committed
Make pos parameter optional in SymbolBLOCK.pop()
1 parent 7266f1e commit 0f10303

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/symbols/block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __eq__(self, other):
4343
def __hash__(self):
4444
return id(self)
4545

46-
def pop(self, pos: int) -> Symbol:
46+
def pop(self, pos: int = -1) -> Symbol:
4747
return self.children.pop(pos)
4848

4949
def append(self, *args):

0 commit comments

Comments
 (0)