Skip to content

Commit

Permalink
Remove extra comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchantastic committed Nov 4, 2021
1 parent 44daa6f commit 7d32e83
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/lorem/lorem.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
import itertools
import os
import random
#import typing

__all__ = [
'set_pool',
Expand Down Expand Up @@ -231,11 +230,6 @@ def word(count = 1, # pylint: disable=dangerous-default-value
"""
pool = _gen_pool(count)
# yield from itertools.cycle(_gen_word(pool=pool,
# func=func,
# args=args,
# kwargs=kwargs) for _ in range(count))

for word in itertools.cycle(_gen_word(pool=pool,
func=func,
args=args,
Expand Down Expand Up @@ -264,10 +258,6 @@ def sentence(count = 1, comma = (0, 2), word_range = (4, 8)):
"""
pool = _gen_pool(count * random.randint(*word_range))
# yield from itertools.cycle(_gen_sentence(pool=pool,
# comma=comma,
# word_range=word_range) for _ in range(count))

for sentence in itertools.cycle(_gen_sentence(pool=pool,
comma=comma,
word_range=word_range) for _ in range(count)):
Expand Down Expand Up @@ -305,11 +295,6 @@ def paragraph(count = 1, comma = (0, 2), word_range = (4, 8), sentence_range = (
"""
pool = _gen_pool(count * random.randint(*word_range) * random.randint(*sentence_range))
# yield from itertools.cycle(_gen_paragraph(pool=pool,
# comma=comma,
# word_range=word_range,
# sentence_range=sentence_range) for _ in range(count))

for paragraph in itertools.cycle(_gen_paragraph(pool=pool,
comma=comma,
word_range=word_range,
Expand Down

0 comments on commit 7d32e83

Please sign in to comment.