[Python-Dev] [Python-checkins] cpython (3.2): Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Sep 7 02:24:18 CEST 2011


Victor Stinner wrote:

"NUL" is an abbreviation used in tables when you don't have enough space to write the full name: "null character".

It's also the official name of the character, for when you want to be unambiguous about what you mean (e.g. "null character" as opposed to "empty string" or "null pointer").

I expect it's 3 chars for consistency with all the other control character names.

-- Greg



More information about the Python-Dev mailing list