diff --git a/biscuit/core/components/utils/fixedstack.py b/biscuit/core/components/utils/fixedstack.py index bab4d6fd..7243ae94 100644 --- a/biscuit/core/components/utils/fixedstack.py +++ b/biscuit/core/components/utils/fixedstack.py @@ -19,7 +19,7 @@ def __iter__(self): @property def list(self): - return [(i, lambda j=i: self.base.open(j)) for i in self.stack[::-1]] + return [(i, lambda _, i=i: self.base.open(i)) for i in self.stack[::-1]] def push(self, item): if len(self.stack) == self.capacity: