(text)
| 58 | |
| 59 | |
| 60 | def parse_dict(text): |
| 61 | result = {} |
| 62 | for line in text.splitlines(): |
| 63 | if not line.strip() or line.lstrip().startswith("#"): |
| 64 | continue |
| 65 | if "\t" not in line: |
| 66 | continue |
| 67 | key, value = line.split("\t", 1) |
| 68 | result[key] = value |
| 69 | return result |
| 70 | |
| 71 | |
| 72 | def dictionary_summary(before_text, after_text): |
no outgoing calls
no test coverage detected