refactor: Indent ... for visual purposes (#7744)

This commit is contained in:
Caeden Perelli-Harris
2022-10-27 18:42:30 +01:00
committed by GitHub
parent e8915097c4
commit 9bba42eca8
46 changed files with 134 additions and 134 deletions

View File

@@ -21,7 +21,7 @@ def infix_to_postfix(expression_str: str) -> str:
"""
>>> infix_to_postfix("(1*(2+3)+4))")
Traceback (most recent call last):
...
...
ValueError: Mismatched parentheses
>>> infix_to_postfix("")
''

View File

@@ -109,7 +109,7 @@ class LinkedStack(Generic[T]):
>>> stack = LinkedStack()
>>> stack.pop()
Traceback (most recent call last):
...
...
IndexError: pop from empty stack
>>> stack.push("c")
>>> stack.push("b")