python-fill-paren-function

python-fill-paren-function is a variable defined in `python.el'.
Its value is
python-fill-paren

  • This variable may be risky if used as a file-local variable.

Documentation:
Function to fill parens.
This is the function used by `python-fill-paragraph' to
fill parens.

You can customize this variable.