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

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

No files matched your search

+1 -2
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()