Source

rope_py3k / rope / refactor / rename.py

Diff from to

File rope/refactor/rename.py

        scope.get_kind() in ('Function', 'Class'):
         scope = scope.parent
     return scope.get_kind() == 'Function' and \
-           pyname in scope.get_names().values() and \
+           pyname in list(scope.get_names().values()) and \
            isinstance(pyname, pynames.AssignedName)