summaryrefslogtreecommitdiff
path: root/django/utils/jslex.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/jslex.py')
-rw-r--r--django/utils/jslex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/jslex.py b/django/utils/jslex.py
index 0958ac030c..98b5d56e9d 100644
--- a/django/utils/jslex.py
+++ b/django/utils/jslex.py
@@ -3,7 +3,7 @@
import re
-class Tok(object):
+class Tok:
"""
A specification for a token class.
"""
@@ -27,7 +27,7 @@ def literals(choices, prefix="", suffix=""):
return "|".join(prefix + re.escape(c) + suffix for c in choices.split())
-class Lexer(object):
+class Lexer:
"""
A generic multi-state regex-based lexer.
"""