diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-17 20:15:53 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-17 20:15:53 -0400 |
| commit | bcd89039dd7aba5459a1727c44d1661d0a48a96e (patch) | |
| tree | c394f7d613a1cc03758fe6127a1f4163a637554b /doc/branch.rst | |
| parent | bb098f20ed64bafd3ca14b265f47f657a4be9d79 (diff) | |
| download | python-coveragepy-bcd89039dd7aba5459a1727c44d1661d0a48a96e.tar.gz | |
Remove notes about me being available for custom work, and rewrap many paragraphs.
Diffstat (limited to 'doc/branch.rst')
| -rw-r--r-- | doc/branch.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/branch.rst b/doc/branch.rst index 13b9dc6..f6b3ac8 100644 --- a/doc/branch.rst +++ b/doc/branch.rst @@ -73,8 +73,8 @@ __ http://ivory.idyll.org/blog Excluding code -------------- -If you have :ref:`excluded code <excluding>`, a condtional will not be -counted as a branch if one of its choices is excluded:: +If you have :ref:`excluded code <excluding>`, a condtional will not be counted +as a branch if one of its choices is excluded:: def only_one_choice(x): if x: @@ -84,8 +84,8 @@ counted as a branch if one of its choices is excluded:: # x is always true. blah3() -Because the ``else`` clause is excluded, the ``if`` only has one possible -next line, so it isn't considered a branch at all. +Because the ``else`` clause is excluded, the ``if`` only has one possible next +line, so it isn't considered a branch at all. Structurally partial branches @@ -115,6 +115,6 @@ pragma:: break Here the while loop will never complete because the break will always be taken -at some point. Coverage.py can't work that out on its own, but the -"no branch" pragma indicates that the branch is known to be partial, and -the line is not flagged. +at some point. Coverage.py can't work that out on its own, but the "no branch" +pragma indicates that the branch is known to be partial, and the line is not +flagged. |
