PyCharm
 
Get PyCharm

Extract constant

Last modified: 08 October 2024

The Extract Constant refactoring makes your source code easier to read and maintain. It also helps you avoid usage of hardcoded constants without any explanation about their values or purpose.