python-fill-docstring-style
python-fill-docstring-style is a variable defined in `
python.el
'.
Its value is
pep-257
- This variable is safe as a file local variable if its value
satisfies the predicate which is a byte-compiled expression.
Documentation:
Style used to fill docstrings.
This affects `python-fill-string' behavior with regards to
triple quotes positioning.
Possible values are `django', `onetwo', `pep-257', `pep-257-nn',
`symmetric', and nil. A value of nil won't care about quotes
position and will treat docstrings a normal string, any other
value may result in one of the following docstring styles:
`django':
"""
Process foo, return bar.
"""
"""
Process foo, return bar.
If processing fails throw ProcessingError.
"""
`onetwo':
"""Process foo, return bar."""
"""
Process foo, return bar.
If processing fails throw ProcessingError.
"""
`pep-257':
"""Process foo, return bar."""
"""Process foo, return bar.
If processing fails throw ProcessingError.
"""
`pep-257-nn':
"""Process foo, return bar."""
"""Process foo, return bar.
If processing fails throw ProcessingError.
"""
`symmetric':
"""Process foo, return bar."""
"""
Process foo, return bar.
If processing fails throw ProcessingError.
"""
You can customize this variable.