From 918c0103e4dbe943d8610517870e17dd65bbddcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Stenstr=C3=B6m?= Date: Thu, 21 Jan 2021 22:16:42 +0100 Subject: [PATCH] Remove unused import in example --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 00ecc856..14e3b75c 100644 --- a/README.rst +++ b/README.rst @@ -62,7 +62,7 @@ This builds a standard wordcount function from pieces within ``toolz``: ... """ Stem word to primitive form """ ... return word.lower().rstrip(",.!:;'-\"").lstrip("'\"") - >>> from toolz import compose, frequencies, partial + >>> from toolz import compose, frequencies >>> from toolz.curried import map >>> wordcount = compose(frequencies, map(stem), str.split)