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

From: Jani Nikula
Date: Wed Jul 02 2025 - 04:23:48 EST


On Tue, 01 Jul 2025, Jonathan Corbet <corbet@xxxxxxx> wrote:
> 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.

I feel old.

Acked-by: Jani Nikula <jani.nikula@xxxxxxxxx>

>
> Cc: Jani Nikula <jani.nikula@xxxxxxxxx>
> Signed-off-by: Jonathan Corbet <corbet@xxxxxxx>
> ---
> 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

--
Jani Nikula, Intel