[PATCH] Documentation/sphinx: Fix typo in automarkup.py

Iris Shi posted 1 patch 1 month, 2 weeks ago
Documentation/sphinx/automarkup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Documentation/sphinx: Fix typo in automarkup.py
Posted by Iris Shi 1 month, 2 weeks ago
"whan" -> "when"

Signed-off-by: Iris Shi <0.0@owo.li>
---
 Documentation/sphinx/automarkup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/sphinx/automarkup.py b/Documentation/sphinx/automarkup.py
index 563033f764bb..1d9dada40a74 100644
--- a/Documentation/sphinx/automarkup.py
+++ b/Documentation/sphinx/automarkup.py
@@ -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)
-- 
2.50.1
Re: [PATCH] Documentation/sphinx: Fix typo in automarkup.py
Posted by Jonathan Corbet 1 month, 2 weeks ago
Iris Shi <0.0@owo.li> writes:

> "whan" -> "when"
>
> Signed-off-by: Iris Shi <0.0@owo.li>
> ---
>  Documentation/sphinx/automarkup.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/sphinx/automarkup.py b/Documentation/sphinx/automarkup.py
> index 563033f764bb..1d9dada40a74 100644
> --- a/Documentation/sphinx/automarkup.py
> +++ b/Documentation/sphinx/automarkup.py
> @@ -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
>  #

Applied, thanks.

jon