Python String Extract Method In Refactoring