mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 13:11:39 +07:00
fixed PY-7085 Specify type for reference using annotation: missing intention for specifying annotation for return values
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
def g(x) -> object:
|
||||
return x
|
||||
|
||||
|
||||
def f(x):
|
||||
y = g(x.keys())
|
||||
return y.startswith('foo')
|
||||
@@ -0,0 +1,7 @@
|
||||
def g(x):
|
||||
return x
|
||||
|
||||
|
||||
def f(x):
|
||||
y = g(x.keys())
|
||||
return y<caret>.startswith('foo')
|
||||
Reference in New Issue
Block a user