From 51882c49842c873db75c1f260091349c6295af28 Mon Sep 17 00:00:00 2001 From: ines Date: Fri, 26 May 2017 12:37:45 +0200 Subject: [PATCH] Fix formatting --- spacy/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/util.py b/spacy/util.py index c0768ff23..e42bde810 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -174,6 +174,7 @@ def get_async(stream, numpy_array): array.set(numpy_array, stream=stream) return array + def itershuffle(iterable, bufsize=1000): """Shuffle an iterator. This works by holding `bufsize` items back and yielding them sometime later. Obviously, this is not unbiased --