File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1829,10 +1829,14 @@ class IfStmt(Statement):
18291829
18301830 expr : list [Expression ]
18311831 body : list [Block ]
1832- else_body : Block | None # If there is actually no else statement, semantic analysis may nevertheless
1832+ else_body : (
1833+ Block | None
1834+ ) # If there is actually no else statement, semantic analysis may nevertheless
18331835 # create an empty else block and mark it permanently as unreachable to tell
18341836 # that the control flow must always go through the if block.
1835- unreachable_else : bool # Type checking may modify this flag repeatedly to indicate whether an actually
1837+ unreachable_else : (
1838+ bool # Type checking may modify this flag repeatedly to indicate whether an actually
1839+ )
18361840 # available or unavailable else block is unreachable, considering the currently
18371841 # available type information.
18381842
You can’t perform that action at this time.
0 commit comments