summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2012-02-22 20:22:20 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2012-02-22 20:22:20 (GMT)
commitb429d3b09c1f57a42d0cc218a7235383091ce317 (patch)
tree805d00d11ec3d54e24e3113bd0ddcc197b27c044 /Objects
parent6db1c40b374ecdf7324fa123db4c2202d4f986c9 (diff)
downloadcpython-b429d3b09c1f57a42d0cc218a7235383091ce317.zip
cpython-b429d3b09c1f57a42d0cc218a7235383091ce317.tar.gz
cpython-b429d3b09c1f57a42d0cc218a7235383091ce317.tar.bz2
Fix doc of an internal function: unicode_write_cstr()
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index ab4559f..01748be 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1640,8 +1640,9 @@ unicode_putchar(PyObject **p_unicode, Py_ssize_t *pos,
/* 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)
{