2023-10-18 02:31:17

by Charles Han

[permalink] [raw]
Subject: [PATCH] Documentation/sphinx: Remove the repeated word "the" in comments.

Remove the repeated word "the" in comments.

Signed-off-by: Charles Han <[email protected]>
---
Documentation/sphinx/cdomain.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/sphinx/cdomain.py b/Documentation/sphinx/cdomain.py
index de5d132d94c5..4eb150bf509c 100644
--- a/Documentation/sphinx/cdomain.py
+++ b/Documentation/sphinx/cdomain.py
@@ -151,7 +151,7 @@ class CObject(Base_CObject):
def handle_func_like_macro(self, sig, signode):
u"""Handles signatures of function-like macros.

- If the objtype is 'function' and the the signature ``sig`` is a
+ If the objtype is 'function' and the signature ``sig`` is a
function-like macro, the name of the macro is returned. Otherwise
``False`` is returned. """

--
2.31.1


2023-10-23 02:33:57

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation/sphinx: Remove the repeated word "the" in comments.

Charles Han <[email protected]> writes:

> Remove the repeated word "the" in comments.
>
> Signed-off-by: Charles Han <[email protected]>
> ---
> Documentation/sphinx/cdomain.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/sphinx/cdomain.py b/Documentation/sphinx/cdomain.py
> index de5d132d94c5..4eb150bf509c 100644
> --- a/Documentation/sphinx/cdomain.py
> +++ b/Documentation/sphinx/cdomain.py
> @@ -151,7 +151,7 @@ class CObject(Base_CObject):
> def handle_func_like_macro(self, sig, signode):
> u"""Handles signatures of function-like macros.
>
> - If the objtype is 'function' and the the signature ``sig`` is a
> + If the objtype is 'function' and the signature ``sig`` is a
> function-like macro, the name of the macro is returned. Otherwise

Applied, thanks.

jon