1
0
forked from VimPlug/jedi

default arguments should now always be the right ones

This commit is contained in:
David Halter
2012-05-23 15:39:10 +02:00
parent bdaf3799e7
commit 37f66f53c5
2 changed files with 13 additions and 14 deletions

View File

@@ -172,9 +172,9 @@ def decorated(a,b):
return a,b
exe = decorated(frozenset, '')
exe[1].
def gen():
yield 1
yield ""
gen_exe = gen()
#? ['upper']
next(gen_exe).
def rev(a=1, b=""):
return a, b
rev(b=list, a=set)[1].