New submission from Erlend Egeberg Aasland <erlend.aasl...@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@python
components: Documentation
messages: 387298
nosy: docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43266>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to