Commits

Victor Stinner committed 3178435

Fix doc of an internal function: unicode_write_cstr()

Comments (0)

Files changed (1)

Objects/unicodeobject.c

 /* Copy a ASCII or latin1 char* string into a Python Unicode string.
    Return the length of the input string.
 
-   WARNING: Don't copy the terminating null character and don't check the
-   maximum character (may write a latin1 character in an ASCII string). */
+   WARNING: The function doesn't copy the terminating null character and
+   doesn't check the maximum character (may write a latin1 character in an
+   ASCII string). */
 static Py_ssize_t
 unicode_write_cstr(PyObject *unicode, Py_ssize_t index, const char *str)
 {