[formatter] change 'L'/length conversion to 'n'

This commit is contained in:
Mike Fährmann
2025-06-22 13:40:13 +02:00
parent 9c9eb7a3bb
commit 5e0cdac337
3 changed files with 6 additions and 6 deletions

View File

@@ -117,9 +117,9 @@ Conversion specifiers allow to *convert* the value to a different form or type.
<td><code>["sun", "tree", "water"]</code></td>
</tr>
<tr>
<td align="center"><code>L</code></td>
<td align="center"><code>n</code></td>
<td>Return the <a href="https://docs.python.org/3/library/functions.html#len" rel="nofollow">length</a> of a value</td>
<td><code>{foo!L}</code></td>
<td><code>{foo!n}</code></td>
<td><code>7</code></td>
</tr>
<tr>