1
0
forked from VimPlug/jedi

Remove legacy code from param. However, this there's still work needed on params.

This commit is contained in:
Dave Halter
2014-12-16 17:37:20 +01:00
parent 3d080afd71
commit 576a1182af
2 changed files with 2 additions and 105 deletions

View File

@@ -26,8 +26,7 @@ def defined_names(evaluator, scope):
:type scope: Scope
:rtype: list of Definition
"""
# Calling get_names_of_scope doesn't make sense always. It might include
# star imports or inherited stuff. Wanted?
# It might include inherited stuff. Wanted?
# TODO discuss!
if isinstance(scope, pr.Module):
pair = scope, scope.get_defined_names()