summaryrefslogtreecommitdiff
path: root/sphinx/util/jsdump.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 10:09:44 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 10:09:44 +0900
commit412bb9aae87dccfb81e8dc0e0cfaff40ad0c3701 (patch)
tree8dd33860f35d4aceffa7f5bf9ecd7a5969a1e1b3 /sphinx/util/jsdump.py
parent60d4846e0fa4ec0e76ed6c963d13f74015939875 (diff)
downloadsphinx-git-412bb9aae87dccfb81e8dc0e0cfaff40ad0c3701.tar.gz
Fix flake8 violations
Diffstat (limited to 'sphinx/util/jsdump.py')
-rw-r--r--sphinx/util/jsdump.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/jsdump.py b/sphinx/util/jsdump.py
index 5a2148c5b..1dcb78946 100644
--- a/sphinx/util/jsdump.py
+++ b/sphinx/util/jsdump.py
@@ -16,8 +16,8 @@ from six import iteritems, integer_types, string_types
from sphinx.util.pycompat import u
-_str_re = re.compile(r'"(\\\\|\\"|[^"])*"')
-_int_re = re.compile(r'\d+')
+_str_re = re.compile(r'"(\\\\|\\"|[^"])*"')
+_int_re = re.compile(r'\d+')
_name_re = re.compile(r'[a-zA-Z_]\w*')
_nameonly_re = re.compile(r'[a-zA-Z_][a-zA-Z0-9_]*$')