mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
changed yield to yield from in iter_wordlist
Former-commit-id: 6cc962bfea
This commit is contained in:
parent
dbb588a1cf
commit
0e25c91c93
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user