Documentation/sphinx: Fix typo in automarkup.py

"whan" -> "when"

Signed-off-by: Iris Shi <0.0@owo.li>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/8e5ddb7d-8faf-314f-b1b1-2d15d6900862@owo.li
This commit is contained in:
Iris Shi 2025-08-18 17:47:48 +08:00 committed by Jonathan Corbet
parent 0bbc2548ea
commit fce343d854
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ def add_and_resolve_xref(app, docname, domain, reftype, target, contnode=None):
return contnode
#
# Variant of markup_abi_ref() that warns whan a reference is not found
# Variant of markup_abi_ref() that warns when a reference is not found
#
def markup_abi_file_ref(docname, app, match):
return markup_abi_ref(docname, app, match, warning=True)