Re: [PATCH 6/7] docs: kdoc: Remove a Python 2 comment

From: Mauro Carvalho Chehab
Date: Thu Jul 03 2025 - 11:51:46 EST


Em Tue, 1 Jul 2025 14:57:29 -0600
Jonathan Corbet <corbet@xxxxxxx> escreveu:

> We no longer support Python 2 in the docs build chain at all, so we
> certainly do not need to admonish folks to keep this file working with it.
>
> Cc: Jani Nikula <jani.nikula@xxxxxxxxx>
> Signed-off-by: Jonathan Corbet <corbet@xxxxxxx>

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>

> ---
> Documentation/sphinx/kerneldoc.py | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/Documentation/sphinx/kerneldoc.py b/Documentation/sphinx/kerneldoc.py
> index 51a2793dc8e2..2586b4d4e494 100644
> --- a/Documentation/sphinx/kerneldoc.py
> +++ b/Documentation/sphinx/kerneldoc.py
> @@ -25,8 +25,6 @@
> # Authors:
> # Jani Nikula <jani.nikula@xxxxxxxxx>
> #
> -# Please make sure this works on both python2 and python3.
> -#
>
> import codecs
> import os