diff --git a/py-polars/polars/series/string.py b/py-polars/polars/series/string.py index 42c17b2ebc1c..97f3e373e98f 100644 --- a/py-polars/polars/series/string.py +++ b/py-polars/polars/series/string.py @@ -2089,7 +2089,7 @@ def escape_regex(self) -> Series: Examples -------- - >>> pl.Series(["abc", "def", None, "abc(\\w+)"]).str.escape_regex()) + >>> pl.Series(["abc", "def", None, "abc(\\w+)"]).str.escape_regex() shape: (4,) Series: '' [str] [