(name, source)
| 462 | |
| 463 | |
| 464 | def parse_section(name, source): |
| 465 | pattern = re.compile('^([^\n]*' + name + '[^\n]*\n?(?:[ \t].*?(?:\n|$))*)', |
| 466 | re.IGNORECASE | re.MULTILINE) |
| 467 | return [s.strip() for s in pattern.findall(source)] |
| 468 | |
| 469 | |
| 470 | def formal_usage(section): |
no outgoing calls
no test coverage detected