diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-02-13 02:02:51 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-02-17 02:01:04 +0900 |
| commit | e1da72b59c6ac5136f45709a0aa73dd5a296b2ff (patch) | |
| tree | 71727a65c1fb7275a9477e06929c6f6638f64545 /sphinx/util/rst.py | |
| parent | c4fc6113382969d41caa2e78cccfba2a5c7507a0 (diff) | |
| download | sphinx-git-e1da72b59c6ac5136f45709a0aa73dd5a296b2ff.tar.gz | |
Reduce DeprecationWarnings for regexp
Diffstat (limited to 'sphinx/util/rst.py')
| -rw-r--r-- | sphinx/util/rst.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/rst.py b/sphinx/util/rst.py index afb452f45..f49cb0c1d 100644 --- a/sphinx/util/rst.py +++ b/sphinx/util/rst.py @@ -11,7 +11,7 @@ import re -symbols_re = re.compile('([!-/:-@\[-`{-~])') +symbols_re = re.compile(r'([!-/:-@\[-`{-~])') def escape(text): |
