From: Jonathan Corbet Date: Thu, 3 Jul 2025 18:44:02 +0000 (-0600) Subject: docs: kdoc: Remove a Python 2 comment X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=92fb8091c0728418e4980ccb22d1db5a1737fe5a;p=users%2Fwilly%2Fxarray.git docs: kdoc: Remove a Python 2 comment 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 Reviewed-by: Mauro Carvalho Chehab Acked-by: Jani Nikula Tested-by: Akira Yokosawa Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/20250703184403.274408-7-corbet@lwn.net --- 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 # -# Please make sure this works on both python2 and python3. -# import codecs import os