Fix '__bool__' method (#735) · junthbasnet/Python@8e67ac3 · GitHub
Skip to content

Commit 8e67ac3

Browse files
SemeniukMNashwek
authored andcommitted
Fix '__bool__' method (TheAlgorithms#735)
The method returns the truth when the stack is empty
1 parent 2c67f61 commit 8e67ac3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_structures/stacks/stack.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)