1
0
forked from VimPlug/jedi

Implement magic method return values, fixes #1577

This commit is contained in:
Dave Halter
2020-05-15 19:09:44 +02:00
parent be594f1498
commit 41c146a6f3
4 changed files with 61 additions and 11 deletions

View File

@@ -5,7 +5,10 @@ def positional_only_call(a, /, b):
a
#? int()
b
return a + b
if UNDEFINED:
return a
else:
return b
#? int() str()
@@ -13,7 +16,10 @@ positional_only_call('', 1)
def positional_only_call2(a, /, b=3):
return a + b
if UNDEFINED:
return a
else:
return b
#? int()
positional_only_call2(1)