From 4cc3ebe74e0758b7ec36912457365bf342fac590 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 9 Sep 2024 20:56:01 +0200 Subject: [PATCH] Format --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index 57b851481..0d9aab9e3 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -2093,7 +2093,7 @@ class Language: tok2vec.remove_listener(listener, pipe_name) @contextmanager - def memory_zone(self, mem: Optional[Pool]=None) -> Iterator[Pool]: + def memory_zone(self, mem: Optional[Pool] = None) -> Iterator[Pool]: """Begin a block where all resources allocated during the block will be freed at the end of it. If a resources was created within the memory zone block, accessing it outside the block is invalid.