[New-bugs-announce] [issue43266] "String conversion and formatting" formatting messes up array subscripting

Erlend Egeberg Aasland report at bugs.python.org
Fri Feb 19 04:21:37 EST 2021


New submission from Erlend Egeberg Aasland <erlend.aasland at innova.no>:

str[size-1] is rendered incorrectly in https://docs.python.org/3.10/c-api/conversion.html

The original intent was probably to apply italics to the variables names only. This can be fixed by prefixing the first bracket with a backslash. However, that results in the italic text crashing with the bracket. I suggest to just use ``str[size-1]``.

Also applies to str[rv] in the same section.

----------
assignee: docs at python
components: Documentation
messages: 387298
nosy: docs at python, erlendaasland
priority: normal
severity: normal
status: open
title: "String conversion and formatting" formatting messes up array subscripting
versions: Python 3.10, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43266>
_______________________________________


More information about the New-bugs-announce mailing list