mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 14:54:47 +08:00
pep8
This commit is contained in:
@@ -209,7 +209,7 @@ class Executable(object):
|
||||
self.iterator = iterator
|
||||
|
||||
def push_back(self, key, value):
|
||||
self.pushes.append((key,value))
|
||||
self.pushes.append((key, value))
|
||||
|
||||
def __iter__(self):
|
||||
return self
|
||||
@@ -226,7 +226,6 @@ class Executable(object):
|
||||
|
||||
return iter(PushBackIterator(iterate()))
|
||||
|
||||
|
||||
def set_param_cb(self, func):
|
||||
self.func = func
|
||||
func.param_cb = self.get_params
|
||||
@@ -392,7 +391,6 @@ class Execution(Executable):
|
||||
#print dec.parent
|
||||
return func
|
||||
|
||||
|
||||
@memoize_default(default=[])
|
||||
def get_return_types(self):
|
||||
"""
|
||||
@@ -428,7 +426,6 @@ class Execution(Executable):
|
||||
else:
|
||||
debug.warning("no execution possible", func)
|
||||
|
||||
|
||||
debug.dbg('exec results:', stmts, self.base, repr(self))
|
||||
|
||||
return strip_imports(stmts)
|
||||
@@ -832,7 +829,7 @@ def follow_paths(path, results, position=None):
|
||||
if fp is not None:
|
||||
results_new += fp
|
||||
else:
|
||||
# this means stop iteration
|
||||
# this means stop iteration
|
||||
return results
|
||||
return results_new
|
||||
|
||||
|
||||
Reference in New Issue
Block a user