Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ee1719

Browse files
committed
fix typo; thanks to Jérôme Mainka from docs@
1 parent 84e59aa commit 1ee1719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/random.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ Basic usage::
309309
>>> random.sample([1, 2, 3, 4, 5], 3) # Three samples without replacement
310310
[4, 1, 5]
311311

312-
A common task is to make a :func:`random.choice` with weighted probababilites.
312+
A common task is to make a :func:`random.choice` with weighted probabilities.
313313

314314
If the weights are small integer ratios, a simple technique is to build a sample
315315
population with repeats::

0 commit comments

Comments
 (0)