mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Docs: avoid informal formulation in Doc/c-api/conversion.rst (#140898)
This commit is contained in:
parent
da65f38a94
commit
173cc53d9f
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ The return value (*rv*) for these functions should be interpreted as follows:
|
|||
``rv + 1`` bytes would have been needed to succeed. ``str[size-1]`` is ``'\0'``
|
||||
in this case.
|
||||
|
||||
* When ``rv < 0``, "something bad happened." ``str[size-1]`` is ``'\0'`` in
|
||||
* When ``rv < 0``, the output conversion failed and ``str[size-1]`` is ``'\0'`` in
|
||||
this case too, but the rest of *str* is undefined. The exact cause of the error
|
||||
depends on the underlying platform.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue