We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc23e8d + cce6efa commit dae7f7aCopy full SHA for dae7f7a
src/webassets/filter/__init__.py
@@ -39,7 +39,7 @@ def freezedicts(obj):
39
40
41
def smartsplit(string, sep):
42
- """Split while allowing escaping.
+ r"""Split while allowing escaping.
43
44
So far, this seems to do what I expect - split at the separator,
45
allow escaping via \\, and allow the backslash itself to be escaped.
src/webassets/filter/replace.py
@@ -6,7 +6,7 @@
6
7
8
class ReplaceFilter(Filter):
9
- """
+ r"""
10
A filter that allows arbitrary search/replace of strings using a source
11
regex and a replacement string. Unlike cssrewrite this works on strings
12
which are not paths and can be used as an output filter.
0 commit comments