diff options
author | Kian-Meng Ang <kianmeng.ang@gmail.com> | 2022-01-19 04:00:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 21:00:07 +0100 |
commit | 2a0cecbb5037d04f1ecbf5f2336ef26813e2967c (patch) | |
tree | e6bcb5d33ebb82d76f8a4ebf4c54e493f69839d4 /scripts/count_token_references.py | |
parent | 2a640662cc0480e043b8d5a5b34586246255ac98 (diff) | |
download | pygments-git-2a0cecbb5037d04f1ecbf5f2336ef26813e2967c.tar.gz |
Fix typos (#2030)
Diffstat (limited to 'scripts/count_token_references.py')
-rwxr-xr-x | scripts/count_token_references.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/count_token_references.py b/scripts/count_token_references.py index 85fcdbe3..e235cc40 100755 --- a/scripts/count_token_references.py +++ b/scripts/count_token_references.py @@ -32,8 +32,8 @@ be used to find typos in token names, as those tokens are only used by one lexer .. option:: -s, --subtokens When ``--subtoken`` is given each token is also counted for each of its - parent tokens. I.e. if we have 10 occurences of the token - ``Token.Literal.Number.Integer`` and 10 occurences of the token + parent tokens. I.e. if we have 10 occurrences of the token + ``Token.Literal.Number.Integer`` and 10 occurrences of the token ``Token.Literal.Number.Hex`` but none for ``Token.Literal.Number``, with ``--subtoken`` ``Token.Literal.Number`` would be counted as having 20 references. |