From afe9cfe96e71f30e150215472d6675bccb2d5121 Mon Sep 17 00:00:00 2001 From: Morgan Funtowicz Date: Tue, 31 Mar 2020 20:20:09 +0200 Subject: [PATCH] Strip should inherits from Normalizer on Python binding. Signed-off-by: Morgan Funtowicz --- bindings/python/src/normalizers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/src/normalizers.rs b/bindings/python/src/normalizers.rs index 3e485c6e..fe3c6e6c 100644 --- a/bindings/python/src/normalizers.rs +++ b/bindings/python/src/normalizers.rs @@ -134,7 +134,7 @@ impl Lowercase { } } -#[pyclass] +#[pyclass(extends=Normalizer)] pub struct Strip {} #[pymethods] impl Strip {