dot_files/vim-plugins/bundle/jedi-vim/jedi/test/completion/completion.py

27 lines
344 B
Python
Raw Normal View History

2017-07-09 00:26:06 +03:00
"""
Special cases of completions (typically special positions that caused issues
with context parsing.
"""
def pass_decorator(func):
return func
def x():
return (
1,
#? ["tuple"]
tuple
)
# Comment just somewhere
class MyClass:
@pass_decorator
def x(foo,
#? 5 ["tuple"]
tuple,
):
return 1