[docs] [issue23088] Document that PyUnicode_AsUTF8() returns a null-terminated string

Martin Panter report at bugs.python.org
Thu Mar 12 01:51:09 CET 2015

Martin Panter added the comment:

Posting a new patch updating the documentation for some of the extra functions Serhiy mentioned. Also changed references of “NUL”, “nul” and “0” characters to “null”. I’m not very familiar with Python’s C API, so I am mainly relying on what you guys say without much of my own verification. But if there are other related doc fixes you can think of, I’m happy to include them.

The PyUnicode_AsWideCharString() function already seems to document null termination well enough, so I did not change it. Let me know if you had a specific change in mind.


Python tracker <report at bugs.python.org>

More information about the docs mailing list