From 1ee285f29e6b0fff51421ec157bc2c51e0804470 Mon Sep 17 00:00:00 2001 From: cl0ne Date: Mon, 19 Apr 2021 00:15:02 +0300 Subject: [PATCH] Reword docstring --- devpotato_bot/sample.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devpotato_bot/sample.py b/devpotato_bot/sample.py index ed4efc7..feddb3d 100644 --- a/devpotato_bot/sample.py +++ b/devpotato_bot/sample.py @@ -7,8 +7,7 @@ T = TypeVar('T') def sample_items_inplace(items: MutableSequence[T], sample_size: int, item_limit: int = None): """Moves sampled elements to the end of items list. - When sample size is equal to the size of the items list it - shuffles items in-place. + When the sample size is equal to the size of the items list, it merely shuffles items in-place. """ n = len(items) if item_limit is None: