|
|
|
|
|
by Symen
3225 days ago
|
|
There are a few gotchas but you can do it. Mostly you need to put you multi-line chain call inside parentheses if it is not already inside a function call or data structure (similarly to generator expressions). For example I often end up doing: something(
"Template string {thing}"
.format(thing=33)
)
|
|