From 99842387cbe9a5ba8d38e292d7c3c3ff0df0db51 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 29 Jan 2021 18:45:37 +1100 Subject: [PATCH] Remove default value --- spacy/language.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spacy/language.py b/spacy/language.py index 12b319fd3..3f4755d92 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -1674,10 +1674,7 @@ class Language: return nlp def replace_listeners( - self, - tok2vec_name: str, - pipe_name: str, - listeners: Iterable[str] = SimpleFrozenList(), + self, tok2vec_name: str, pipe_name: str, listeners: Iterable[str], ) -> None: """Find listener layers (connecting to a token-to-vector embedding component) of a given pipeline component model and replace