Skip to content

Commit b45841c

Browse files
authored
Tiny grammar correction
I hope this isn't seen as petty or wasting your time (I love this project!). This is just a small fix to update the document with three corrections where the word `then` (indicating time) was sometimes used in place of the word `than` (comparison).
1 parent 9b52efa commit b45841c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ then make sure to mark those hooks as :ref:`optional <optionalhook>`.
472472
Opt-in arguments
473473
^^^^^^^^^^^^^^^^
474474
To allow for *hookspecs* to evolve over the lifetime of a project,
475-
*hookimpls* can accept **less** arguments then defined in the spec.
475+
*hookimpls* can accept **less** arguments than defined in the spec.
476476
This allows for extending hook arguments (and thus semantics) without
477477
breaking existing *hookimpls*.
478478

@@ -514,7 +514,7 @@ First result only
514514
^^^^^^^^^^^^^^^^^
515515
A *hookspec* can be marked such that when the *hook* is called the call loop
516516
will only invoke up to the first *hookimpl* which returns a result other
517-
then ``None``.
517+
than ``None``.
518518

519519
.. code-block:: python
520520
@@ -726,7 +726,7 @@ Collecting results
726726
------------------
727727
By default calling a hook results in all underlying :ref:`hookimpls
728728
<impls>` functions to be invoked in sequence via a loop. Any function
729-
which returns a value other then a ``None`` result will have that result
729+
which returns a value other than a ``None`` result will have that result
730730
appended to a :py:class:`list` which is returned by the call.
731731

732732
The only exception to this behaviour is if the hook has been marked to return

0 commit comments

Comments
 (0)