Skip to content

Commit 93a727b

Browse files
authored
Update reverse-substrings-between-each-pair-of-parentheses.py
1 parent d74d41d commit 93a727b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/reverse-substrings-between-each-pair-of-parentheses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ def reverseParentheses(self, s):
4343
end.reverse()
4444
stk[-1].extend(end)
4545
else:
46-
stk[-1].append(c)
46+
stk[-1].append(c)
4747
return "".join(stk.pop())

0 commit comments

Comments
 (0)