Commit 1572e6a
Updated isEmpty function definition. (OmkarPathak#31)
'return len(self.stack) == []' is a problematic definition. it should be either 'return len(self.stack) == 0' or 'self.stack == []'1 parent 9033612 commit 1572e6a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments