mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
refactorings and start of *args / **kwargs
This commit is contained in:
14
parsetest.py
14
parsetest.py
@@ -164,17 +164,17 @@ a.
|
||||
|
||||
|
||||
|
||||
class C(object):
|
||||
def c_a(self):
|
||||
self.c_b = 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def args_func(arg1, *args):
|
||||
def args_func(arg1=0, *args, **kwargs):
|
||||
return arg1
|
||||
return args
|
||||
|
||||
#? ['real']
|
||||
args_func(1,"")[0].real
|
||||
args_func(1,"", a=list)[0].
|
||||
args_func().; C().
|
||||
|
||||
Reference in New Issue
Block a user