1. zjes
  2. rope_py3k


Ali Gholami Rudi  committed 52204e1

fixmodnames: added docs

  • Participants
  • Parent commits 428849c
  • Branches trunk

Comments (0)

Files changed (1)

File rope/contrib/fixmodnames.py

View file
+"""Fix the name of modules"""
 from rope.base import change, taskhandle
 from rope.contrib import changestack
 from rope.refactor import rename
     def get_changes(self, fixer=str.lower,
+        """Fix module names
+        `fixer` is a function that takes and returns a `str`.  Given
+        the name of a module, it should return the fixed name.
+        """
         stack = changestack.ChangeStack(self.project, 'Fixing module names')
             while True: