summaryrefslogtreecommitdiff
path: root/doc
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 /doc
parent2a640662cc0480e043b8d5a5b34586246255ac98 (diff)
downloadpygments-git-2a0cecbb5037d04f1ecbf5f2336ef26813e2967c.tar.gz
Fix typos (#2030)
Diffstat (limited to 'doc')
-rw-r--r--doc/docs/api.rst2
-rw-r--r--doc/docs/filters.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/docs/api.rst b/doc/docs/api.rst
index 5bbfe19e..4d330bf8 100644
--- a/doc/docs/api.rst
+++ b/doc/docs/api.rst
@@ -335,7 +335,7 @@ converted to the expected type if possible.
Intuitively, this is `options.get(optname, default)`, but restricted to
Boolean value. The Booleans can be represented as string, in order to accept
Boolean value from the command line arguments. If the key `optname` is
- present in the dictionnary `options` and is not associated with a Boolean,
+ present in the dictionary `options` and is not associated with a Boolean,
raise an `OptionError`. If it is absent, `default` is returned instead.
The valid string values for ``True`` are ``1``, ``yes``, ``true`` and
diff --git a/doc/docs/filters.rst b/doc/docs/filters.rst
index ca4942be..5cdcb4c6 100644
--- a/doc/docs/filters.rst
+++ b/doc/docs/filters.rst
@@ -11,7 +11,7 @@ done by filters. The most common example of filters transform each token by
applying a simple rules such as highlighting the token if it is a TODO or
another special word, or converting keywords to uppercase to enforce a style
guide. More complex filters can transform the stream of tokens, such as removing
-the line identation or merging tokens together. It should be noted that pygments
+the line indentation or merging tokens together. It should be noted that pygments
filters are entirely unrelated to Python's `filter
<https://docs.python.org/3/library/functions.html#filter>`_.