Kagamin:

> http://docs.python.org/py3k/reference/lexical_analysis.html#explicit-line-joining
> If understood it correctly, physical lines don't obey the indentation rules 
> and can have any indentation, e.g. the same indentation as the return 
> statement in the example.

Right. There are two exceptions to the rule: you may use the \ symbol to extend 
a logical line, so here the indentation doesn't matter. And the same happens 
inside a () [] or {}.

In practice the \ are uncommon in good Python programs, the programmer usually 
just adds a ().

Bye,
bearophile

Reply via email to