From fd4287c178feea0ab4a50e70c86f4583c9b886c6 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Wed, 24 Jun 2020 10:26:12 +0200 Subject: [PATCH] Fix backslashes in warnings config diff (#5640) Fix backslashes in warnings config diff in v2.3 migration section. --- website/docs/usage/v2-3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/usage/v2-3.md b/website/docs/usage/v2-3.md index c56b44267..e6b88c779 100644 --- a/website/docs/usage/v2-3.md +++ b/website/docs/usage/v2-3.md @@ -170,7 +170,7 @@ import spacy + import warnings - spacy.errors.SPACY_WARNING_IGNORE.append('W007') -+ warnings.filterwarnings("ignore", message=r"\[W007\]", category=UserWarning) ++ warnings.filterwarnings("ignore", message=r"\\[W007\\]", category=UserWarning) ``` #### Normalization tables