forked from VimPlug/jedi
(Mostly) whitespace fixes
This commit is contained in:
@@ -414,7 +414,7 @@ class Completion(BaseDefinition):
|
||||
return [self]
|
||||
|
||||
self._followed_definitions = \
|
||||
[BaseDefinition(d, d.start_pos) for d in defs]
|
||||
[BaseDefinition(d, d.start_pos) for d in defs]
|
||||
_clear_caches()
|
||||
|
||||
return self._followed_definitions
|
||||
@@ -504,7 +504,7 @@ class Definition(BaseDefinition):
|
||||
`module.class.function` path.
|
||||
"""
|
||||
if self.module_path.endswith('.py') \
|
||||
and not isinstance(self._definition, pr.Module):
|
||||
and not isinstance(self._definition, pr.Module):
|
||||
position = '@%s' % (self.line)
|
||||
else:
|
||||
# is a builtin or module
|
||||
@@ -601,4 +601,4 @@ class CallDef(object):
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s: %s index %s>' % (type(self).__name__, self._executable,
|
||||
self.index)
|
||||
self.index)
|
||||
|
||||
Reference in New Issue
Block a user