PyCharm
 
Get PyCharm

Change Signature dialog

Last modified: 26 May 2024

Refactor | Change Signature

The Change Signature refactoring combines several different modifications that can be applied to a method signature. You can use this refactoring to:

  • change the method name

  • add, remove, and reorder parameters

  • assign default values to the parameters

When changing a method signature, PyCharm searches for all usages of the method and updates all the calls, implementations, and override replacements of the method that can be safely modified to reflect the change.