Skip to content
Snippets Groups Projects
Commit 145d70c6 authored by ulif's avatar ulif
Browse files

Fix docstring.

parent b6a8f705
No related branches found
No related tags found
No related merge requests found
......@@ -30,14 +30,9 @@ def handle_options(args):
def get_wordlist(path):
"""Parse file at `path` and build a word list of it.
A wordlist is expected to contain lines of format::
<NUMS><TAB><WORD>\n
for instance::
136512\tTerm
A wordlist is expected to contain lines of words. Each line a
word. Empty lines are ignored. Returns a list of terms (lines)
found.
"""
result = []
with open(path, 'r') as fd:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment