BreakOptions
- class BreakOptions
Options for inserting line breaks.
Members defined in
BreakOptions(5 members)
RWWhen to insert line break preceding
aboutin comments:
RWWhether to print all children on a new line, even if they otherwise fit on the same line.
RWWhen to insert line break preceding
languagein textual representations:
RWWhether to insert line breaks in binary operators:
Attributes
- property about: syside.conf.OptionalKw
When to insert line break preceding
aboutin comments:always: about list is always printed on a new lineas-needed: printer tries to fit about list on the current line
- property force_bodies: bool
Whether to print all children on a new line, even if they otherwise fit on the same line.
- property language: syside.conf.OptionalKw
When to insert line break preceding
languagein textual representations:always: language is always printed on a new lineas-needed: printer tries to fit language on the current line
- property operator: syside.conf.OperatorBreak
Whether to insert line breaks in binary operators:
after: operators are placed on the same line as the LHS expressionbefore: operators are placed on the same line as the RHS expression
Methods
- __init__() None