Commit 3f67bcff authored by scoder's avatar scoder Committed by GitHub

Merge pull request #2423 from gabrieldemarmiesse/mention_null_terminated

Small mention in the docs about bytes strings conversion.
parents 4171c1c0 80fb8148
......@@ -164,7 +164,7 @@ the assignment in a try-finally construct:
To convert the byte string back into a C :c:type:`char*`, use the
opposite assignment::
cdef char* other_c_string = py_string
cdef char* other_c_string = py_string # other_c_string is a 0-terminated string.
This is a very fast operation after which ``other_c_string`` points to
the byte string buffer of the Python string itself. It is tied to the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment