forked from VimPlug/jedi
string literal handling
This commit is contained in:
@@ -119,6 +119,12 @@ g1.
|
||||
# -----------------
|
||||
# dicts
|
||||
# -----------------
|
||||
dic2 = {'asdf': 3}
|
||||
dic2 = {'asdf': 3, 'b': 'str'}
|
||||
#? ['real']
|
||||
dic2['asdf'].real
|
||||
#? []
|
||||
dic2['asdf'].upper
|
||||
#? ['real']
|
||||
dic2[r'asdf'].real
|
||||
#? []
|
||||
dic2[r'asdf'].upper
|
||||
|
||||
@@ -151,7 +151,7 @@ exe.items
|
||||
# -----------------
|
||||
|
||||
def fu(a=1, b="", *args, **kwargs):
|
||||
return a,b,args,kwargs
|
||||
return a, b, args, kwargs
|
||||
|
||||
exe = fu(list, 1, "", c=set)
|
||||
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ def completion_test(source):
|
||||
try:
|
||||
completions = functions.complete(source, line_nr, 999,
|
||||
completion_test_dir)
|
||||
except:
|
||||
except Exception:
|
||||
print 'test @%s: %s' % (line_nr-1, line)
|
||||
print traceback.format_exc()
|
||||
fails += 1
|
||||
|
||||
Reference in New Issue
Block a user