PyCharm 2026.2 Help

Extract Function Dialog

Item

Description

Name

In this field, specify the name of the function to be generated on the basis of the selected source code.

Parameters

In this area, select parameters to be passed to the new function.

Move Up/Down

Use these buttons to change the order of the parameters.

Signature preview

In this read-only field, view the declaration of the new function.

Output variables

This read-only field shows local variables or parameters that have been changed within the function body, and will be returned by the function.

24 June 2026