[docs] [issue28976] incorrect description that dose not conform to the actual behavior

R. David Murray report at bugs.python.org
Thu Dec 15 09:57:05 EST 2016

R. David Murray added the comment:

Because the documentation is correct.  There is no bug here.  As Brendan said, there is no need to repeat a fundamental (that statements can raise exceptions) in this context.  The point of the passage is that

  if x: a; b; c;

is equivalent to

  if x:


  if x: a

And that is what it clearly says, in my opinion.  The language reference is a specification and not a tutorial, so more words here would not be a good idea.

nosy: +r.david.murray

Python tracker <report at bugs.python.org>

More information about the docs mailing list