* 3.9_10
This commit is contained in:
parent
5ce4f0565f
commit
f9d8ec192b
@ -145,7 +145,7 @@ class Stack:
|
|||||||
self.validate_index(idx)
|
self.validate_index(idx)
|
||||||
|
|
||||||
if idx == len(self):
|
if idx == len(self):
|
||||||
self.push(value)
|
self.push_back(value)
|
||||||
return
|
return
|
||||||
|
|
||||||
prev = self.top
|
prev = self.top
|
||||||
|
Loading…
Reference in New Issue
Block a user