From 2a0cecbb5037d04f1ecbf5f2336ef26813e2967c Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Wed, 19 Jan 2022 04:00:07 +0800 Subject: Fix typos (#2030) --- doc/docs/api.rst | 2 +- doc/docs/filters.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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 `_. -- cgit v1.2.1