File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ then make sure to mark those hooks as :ref:`optional <optionalhook>`.
472
472
Opt-in arguments
473
473
^^^^^^^^^^^^^^^^
474
474
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.
476
476
This allows for extending hook arguments (and thus semantics) without
477
477
breaking existing *hookimpls *.
478
478
@@ -514,7 +514,7 @@ First result only
514
514
^^^^^^^^^^^^^^^^^
515
515
A *hookspec * can be marked such that when the *hook * is called the call loop
516
516
will only invoke up to the first *hookimpl * which returns a result other
517
- then ``None ``.
517
+ than ``None ``.
518
518
519
519
.. code-block :: python
520
520
@@ -726,7 +726,7 @@ Collecting results
726
726
------------------
727
727
By default calling a hook results in all underlying :ref: `hookimpls
728
728
<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
730
730
appended to a :py:class: `list ` which is returned by the call.
731
731
732
732
The only exception to this behaviour is if the hook has been marked to return
You can’t perform that action at this time.
0 commit comments