updating vim

This commit is contained in:
ViktorBarzin 2017-05-21 12:14:33 +03:00
commit 00a9e7d96b
1055 changed files with 126840 additions and 0 deletions

View file

@ -0,0 +1,43 @@
"""
Issues with the parser and not the type inference should be part of this file.
"""
class IndentIssues():
"""
issue jedi-vim#288
Which is really a fast parser issue. It used to start a new block at the
parentheses, because it had problems with the indentation.
"""
def one_param(
self,
):
return 1
def with_param(
self,
y):
return y
#? int()
IndentIssues().one_param()
#? str()
IndentIssues().with_param('')
"""
Just because there's a def keyword, doesn't mean it should not be able to
complete to definition.
"""
definition = 0
#? ['definition']
str(def
# It might be hard to determine the context
class Foo(object):
@property
#? ['str']
def bar(str