PyCharm 2020.1 Help

Extract parameter dialog

Refactor | Extract | Parameter
Ctrl+Alt+P

Specify the settings for extracting a parameter.

Item

Description

Name

Specify the name for the new parameter.

Replace all occurrences

Select this option to replace all the occurrences of the selected expression within the method.

Last modified: 5 June 2020