aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sphinx/kernel_abi.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2025-02-11 06:19:03 +0000
committerJonathan Corbet <[email protected]>2025-02-13 18:33:32 +0000
commit8def404249af7a623eb22b8bcfb7430127c1edb3 (patch)
treeb47833cb4a94be622470880263de914709dd5c94 /Documentation/sphinx/kernel_abi.py
parentdocs: changes: update Python minimal version (diff)
downloadkernel-8def404249af7a623eb22b8bcfb7430127c1edb3.tar.gz
kernel-8def404249af7a623eb22b8bcfb7430127c1edb3.zip
docs: extensions: don't use utf-8 syntax for descriptions
None of the descriptions at the Sphinx extensions are using non-ascii characters, so no need to place them under u""" notation. Also, according with: https://docs.python.org/3/deprecations/pending-removal-in-3.16.html the 'u' format code is scheduled to be removed in Python 3.16. So, let's just use """. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/8a42f6be53464af4b866492a7e9ddf29c0429997.1739254187.git.mchehab+huawei@kernel.org
Diffstat (limited to 'Documentation/sphinx/kernel_abi.py')
-rw-r--r--Documentation/sphinx/kernel_abi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/sphinx/kernel_abi.py b/Documentation/sphinx/kernel_abi.py
index e017b0299953..db6f0380de94 100644
--- a/Documentation/sphinx/kernel_abi.py
+++ b/Documentation/sphinx/kernel_abi.py
@@ -2,7 +2,7 @@
# coding=utf-8
# SPDX-License-Identifier: GPL-2.0
#
-u"""
+"""
kernel-abi
~~~~~~~~~~
@@ -55,7 +55,7 @@ path = os.path.join(srctree, "Documentation/ABI")
_kernel_abi = None
def get_kernel_abi():
- u"""
+ """
Initialize kernel_abi global var, if not initialized yet.
This is needed to avoid warnings during Sphinx module initialization.
@@ -81,7 +81,7 @@ def setup(app):
class KernelCmd(Directive):
- u"""KernelABI (``kernel-abi``) directive"""
+ """KernelABI (``kernel-abi``) directive"""
required_arguments = 1
optional_arguments = 3