diff --git a/spacy/language.py b/spacy/language.py index 28fddfebb69..f0928b1f96d 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -757,8 +757,6 @@ def pipe( DOCS: https://spacy.io/api/language#pipe """ - # raw_texts will be used later to stop iterator. - texts, raw_texts = itertools.tee(texts) if is_python2 and n_process != 1: user_warning(Warnings.W023) n_process = 1