summaryrefslogtreecommitdiff
path: root/scripts/debug_lexer.py
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng.ang@gmail.com>2022-01-19 04:00:07 +0800
committerGitHub <noreply@github.com>2022-01-18 21:00:07 +0100
commit2a0cecbb5037d04f1ecbf5f2336ef26813e2967c (patch)
treee6bcb5d33ebb82d76f8a4ebf4c54e493f69839d4 /scripts/debug_lexer.py
parent2a640662cc0480e043b8d5a5b34586246255ac98 (diff)
downloadpygments-git-2a0cecbb5037d04f1ecbf5f2336ef26813e2967c.tar.gz
Fix typos (#2030)
Diffstat (limited to 'scripts/debug_lexer.py')
-rwxr-xr-xscripts/debug_lexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/debug_lexer.py b/scripts/debug_lexer.py
index 5cc0ef6f..0633dd70 100755
--- a/scripts/debug_lexer.py
+++ b/scripts/debug_lexer.py
@@ -36,7 +36,7 @@ class DebuggingRegexLexer(ExtendedRegexLexer):
"""
Split ``text`` into (tokentype, text) pairs.
- ``stack`` is the inital stack (default: ``['root']``)
+ ``stack`` is the initial stack (default: ``['root']``)
"""
tokendefs = self._tokens
self.ctx = ctx = LexerContext(text, 0)