python-indent-offset

python-indent-offset is a variable defined in `python.el'.
Its value is
4

  • This variable is safe as a file local variable if its value
    satisfies the predicate `integerp'.

Documentation:
Default indentation offset for Python.

You can customize this variable.