@@ -7,7 +7,7 @@ Pythonic Lorem Ipsum Generator
77==============================
88
99.. toctree ::
10- :maxdepth: 4
10+ :maxdepth: 3
1111
1212 lorem
1313 test_lorem
@@ -40,13 +40,13 @@ The :mod:`lorem` module provides two different ways for getting random words.
4040
4141 .. code-block :: python
4242
43- word(count = 1 , func = None , args = (), kwargs = {}) -> Iterator[str ]
43+ def word (count = 1 , func = None , args = (), kwargs = {}) -> Iterator[str ]: ...
4444
4545 2. :func: `~lorem.get_word ` -- return random words
4646
4747 .. code-block :: python
4848
49- get_word(count = 1 , sep = ' ' , func = None , args = (), kwargs = {}) -> str
49+ def get_word (count = 1 , sep = ' ' , func = None , args = (), kwargs = {}) -> str : ...
5050
5151 Get Random Sentences
5252--------------------
@@ -57,13 +57,13 @@ The :mod:`lorem` module provides two different ways for getting random sentences
5757
5858 .. code-block :: python
5959
60- sentence(count = 1 , comma = (0 , 2 ), word_range = (4 , 8 )) -> Iterator[str ]
60+ def sentence (count = 1 , comma = (0 , 2 ), word_range = (4 , 8 )) -> Iterator[str ]: ...
6161
6262 2. :func: `~lorem.get_sentence ` -- return random sentences
6363
6464 .. code-block :: python
6565
66- get_sentence(count = 1 , sep = ' ' , comma = (0 , 2 ), word_range = (4 , 8 )) -> Union[str ]
66+ def get_sentence (count = 1 , sep = ' ' , comma = (0 , 2 ), word_range = (4 , 8 )) -> Union[str ]: ...
6767
6868 Get Random Paragraphs
6969---------------------
@@ -74,25 +74,13 @@ The :mod:`lorem` module provides two different ways for getting random paragraph
7474
7575 .. code-block :: python
7676
77- paragraph(count = 1 , comma = (0 , 2 ), word_range = (4 , 8 ), sentence_range = (5 , 10 )) -> Iterator[str ]
77+ def paragraph (count = 1 , comma = (0 , 2 ), word_range = (4 , 8 ), sentence_range = (5 , 10 )) -> Iterator[str ]: ...
7878
7979 2. :func: `~lorem.get_paragraph ` -- return random paragraphs
8080
8181 .. code-block :: python
8282
83- get_paragraph(count = 1 , sep = os.linesep, comma = (0 , 2 ), word_range = (4 , 8 ), sentence_range = (5 , 10 )) -> Union[str ]
84-
85- Customise Word Pool
86- -------------------
87-
88- If wanted, the :mod: `lorem ` module also provides an interface to customise the word
89- pool as you wish.
90-
91- 1. :func: `~lorem.set_pool ` -- customise random word pool
92-
93- .. code-block :: python
94-
95- set_pool(pool)
83+ def get_paragraph (count = 1 , sep = os.linesep, comma = (0 , 2 ), word_range = (4 , 8 ), sentence_range = (5 , 10 )) -> Union[str ]: ...
9684
9785 Indices and tables
9886==================
0 commit comments