mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Removed unnecessary __init__ definition from DebugLexer.
This commit is contained in:
parent
4dd1f4c5eb
commit
ad9ecc2c20
@ -9,9 +9,6 @@ from django.utils.timezone import template_localtime
|
||||
|
||||
|
||||
class DebugLexer(Lexer):
|
||||
def __init__(self, template_string, origin):
|
||||
super(DebugLexer, self).__init__(template_string, origin)
|
||||
|
||||
def tokenize(self):
|
||||
"Return a list of tokens from a given template_string"
|
||||
result, upto = [], 0
|
||||
|
Loading…
Reference in New Issue
Block a user