Commits

Anonymous committed c689711

Letting from rope.base import * work

Comments (0)

Files changed (2)

rope/base/__init__.py

 and packages.
 
 """
+
+__all__ = ['project', 'libutils', 'change', 'exceptions']

rope/base/codeanalyze.py

     See notes about `get_pyname_at`.
     """
     pymodule = pycore.resource_to_pyobject(resource)
-    pyname_finder = rope.base.codeanalyze.ScopeNameFinder(pymodule)
+    pyname_finder = ScopeNameFinder(pymodule)
     return pyname_finder.get_primary_and_pyname_at(offset)
 
 def get_name_at(resource, offset):
     source_code = resource.read()
-    word_finder = rope.base.codeanalyze.WordRangeFinder(source_code)
+    word_finder = WordRangeFinder(source_code)
     return word_finder.get_word_at(offset)