mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-7971 Insert type assertion: produces invalid assertion in case of caret at the second reference in expression
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
def foo3(x, y):
|
||||
assert isinstance(y, object)
|
||||
i = x + y
|
||||
return i
|
||||
@@ -0,0 +1,3 @@
|
||||
def foo3(x, y):
|
||||
i = x + <caret>y
|
||||
return i
|
||||
Reference in New Issue
Block a user