Commits

Anonymous committed cc8dd8d

Documenting the only_current parameter of inline refactorings

  • Participants
  • Parent commits 5fae866

Comments (0)

Files changed (1)

File rope/refactor/inline.py

         self.name = range_finder.get_word_at(offset)
         self.offset = offset
 
-    def get_changes(self, remove=True,
+    def get_changes(self, remove=True, only_current=False,
                     task_handle=taskhandle.NullTaskHandle()):
         """Get the changes this refactoring makes
 
-        If remove is `False` the definition will not be removed.
+        If `remove` is `False` the definition will not be removed.  If
+        `only_current` is `True`, the the current occurrence will be
+        inlined, only.
 
         """