mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-15 18:17:07 +08:00
empty asserts should not lead to broken parsers
This commit is contained in:
@@ -141,10 +141,16 @@ a[0]
|
|||||||
int()).
|
int()).
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# goto
|
# keywords
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|
||||||
#! []
|
#! []
|
||||||
as
|
as
|
||||||
|
|
||||||
|
def empty_assert():
|
||||||
|
x = 3
|
||||||
|
assert
|
||||||
|
#? int()
|
||||||
|
x
|
||||||
|
|
||||||
import datetime as
|
import datetime as
|
||||||
|
|||||||
Reference in New Issue
Block a user