Show More
@@ -680,7 +680,7 b' def format(text, width=80, indent=0, kee' | |||||
680 | def filtersections(blocks, section): |
|
680 | def filtersections(blocks, section): | |
681 | """Select parsed blocks under the specified section""" |
|
681 | """Select parsed blocks under the specified section""" | |
682 | parents = [] |
|
682 | parents = [] | |
683 | sections = getsections(blocks) |
|
683 | sections = _getsections(blocks) | |
684 | blocks = [] |
|
684 | blocks = [] | |
685 | i = 0 |
|
685 | i = 0 | |
686 | lastparents = [] |
|
686 | lastparents = [] | |
@@ -728,7 +728,7 b' def filtersections(blocks, section):' | |||||
728 |
|
728 | |||
729 | return blocks |
|
729 | return blocks | |
730 |
|
730 | |||
731 | def getsections(blocks): |
|
731 | def _getsections(blocks): | |
732 | '''return a list of (section name, nesting level, blocks) tuples''' |
|
732 | '''return a list of (section name, nesting level, blocks) tuples''' | |
733 | nest = "" |
|
733 | nest = "" | |
734 | level = 0 |
|
734 | level = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now