Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Side by Side Diff: Doc/reference/compound_stmts.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/packaging/setupscript.rst ('k') | Doc/tools/sphinxext/susp-ignored.csv » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .. _compound: 1 .. _compound:
2 2
3 ******************* 3 *******************
4 Compound statements 4 Compound statements
5 ******************* 5 *******************
6 6
7 .. index:: pair: compound; statement 7 .. index:: pair: compound; statement
8 8
9 Compound statements contain (groups of) other statements; they affect or control 9 Compound statements contain (groups of) other statements; they affect or control
10 the execution of those other statements in some way. In general, compound 10 the execution of those other statements in some way. In general, compound
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 608
609 609
610 .. seealso:: 610 .. seealso::
611 611
612 :pep:`3115` - Metaclasses in Python 3 612 :pep:`3115` - Metaclasses in Python 3
613 :pep:`3129` - Class Decorators 613 :pep:`3129` - Class Decorators
614 614
615 615
616 .. rubric:: Footnotes 616 .. rubric:: Footnotes
617 617
618 .. [#] The exception is propagated to the invocation stack unless 618 .. [#] The exception is propagated to the invocation stack only if there is no
619 there is a :keyword:`finally` clause which happens to raise another 619 :keyword:`finally` clause that negates the exception.
620 exception. That new exception causes the old one to be lost.
621 620
622 .. [#] Currently, control "flows off the end" except in the case of an exception 621 .. [#] Currently, control "flows off the end" except in the case of an exception
623 or the execution of a :keyword:`return`, :keyword:`continue`, or 622 or the execution of a :keyword:`return`, :keyword:`continue`, or
624 :keyword:`break` statement. 623 :keyword:`break` statement.
625 624
626 .. [#] A string literal appearing as the first statement in the function body is 625 .. [#] A string literal appearing as the first statement in the function body is
627 transformed into the function's ``__doc__`` attribute and therefore the 626 transformed into the function's ``__doc__`` attribute and therefore the
628 function's :term:`docstring`. 627 function's :term:`docstring`.
629 628
630 .. [#] A string literal appearing as the first statement in the class body is 629 .. [#] A string literal appearing as the first statement in the class body is
631 transformed into the namespace's ``__doc__`` item and therefore the class's 630 transformed into the namespace's ``__doc__`` item and therefore the class's
632 :term:`docstring`. 631 :term:`docstring`.
OLDNEW
« no previous file with comments | « Doc/packaging/setupscript.rst ('k') | Doc/tools/sphinxext/susp-ignored.csv » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+