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>`.
472472Opt-in arguments
473473^^^^^^^^^^^^^^^^
474474To 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.
476476This allows for extending hook arguments (and thus semantics) without
477477breaking existing *hookimpls *.
478478
@@ -514,7 +514,7 @@ First result only
514514^^^^^^^^^^^^^^^^^
515515A *hookspec * can be marked such that when the *hook * is called the call loop
516516will 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------------------
727727By 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
730730appended to a :py:class: `list ` which is returned by the call.
731731
732732The 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