forked from VimPlug/jedi
Get rid of a lot of flake8 errors
This commit is contained in:
@@ -39,7 +39,9 @@ def imitate_pydoc(string):
|
||||
string = h.symbols[string]
|
||||
string, _, related = string.partition(' ')
|
||||
|
||||
get_target = lambda s: h.topics.get(s, h.keywords.get(s))
|
||||
def get_target(s):
|
||||
return h.topics.get(s, h.keywords.get(s))
|
||||
|
||||
while isinstance(string, str):
|
||||
string = get_target(string)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user