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