Re: [PATCH] binman: Do not dedent docstrings twice on Python 3.13+

Tom Rini <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
On Thu, 30 Jul 2026 15:59:04 +0400, Alexey Charkov wrote:

> WriteDocs() and write_bintool_docs() strip four characters from the start
> of every docstring line but the first, to undo the indentation the source
> file gives them. Since Python 3.13 the compiler already removes the common
> indentation from docstrings [1], so this removes four characters of actual
> text from every line of every entry and bintool description:
> 
>   $ binman entry-docs | head
>   ...
>    that an image node whose only content is an optional entry which was
>    is an example showing ATF, TEE and a device tree all combined::
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] binman: Do not dedent docstrings twice on Python 3.13+
      commit: 7cb377e2492a9f1a7b2f8d3c9387dd5d89c2feb1
-- 
Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.