Re: [RFC 2/6] docs: extensions: don't use utf-8 syntax for descriptions

Jonathan Corbet
2025-02-04T17:24:01Z

Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:

> 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 <mchehab+huawei@kernel.org>

...plus it's all utf8 by default anyway. I'm kind of surprised we have
these, I guess they must be a Python 2 holdover.

jon