mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-15 18:17:07 +08:00
add a Flow.previous attribute to be able to access the if flow from an else clause.
This commit is contained in:
7
jedi/evaluate/flow_analysis.py
Normal file
7
jedi/evaluate/flow_analysis.py
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
NOT_REACHABLE = object()
|
||||
REACHABLE = object()
|
||||
UNSURE = object()
|
||||
|
||||
def break_check(scope):
|
||||
return UNSURE
|
||||
Reference in New Issue
Block a user