Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
haryunio authored Oct 31, 2016
1 parent ba16772 commit f942742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_structures/Stacks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def __init__(self):
self.top = 0

def is_empty(self):
return self.top == 0
return (self.top == 0)

def push(self, item):
if self.top < len(self.stack):
Expand Down

0 comments on commit f942742

Please sign in to comment.