changed yield to yield from in iter_wordlist

Former-commit-id: 6cc962bfea
This commit is contained in:
Joshua Chin 2015-06-17 12:38:31 -04:00
parent dbb588a1cf
commit 0e25c91c93

View File

@ -163,8 +163,7 @@ def iter_wordlist(lang, wordlist='combined'):
each band.
"""
for sublist in get_frequency_list(lang, wordlist):
for word in sublist:
yield word
yield from sublist
def half_harmonic_mean(a, b):