From 145d70c6608cf36c72e6cd274dcbfabc1e67ca96 Mon Sep 17 00:00:00 2001 From: ulif <uli@gnufix.de> Date: Wed, 28 Jan 2015 12:43:48 +0100 Subject: [PATCH] Fix docstring. --- diceware/diceware.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/diceware/diceware.py b/diceware/diceware.py index 66e4ed2..16f901a 100644 --- a/diceware/diceware.py +++ b/diceware/diceware.py @@ -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: -- GitLab