Commit b7e0dfca authored by Stefan Behnel's avatar Stefan Behnel

add hint on when C++ strings are useful

parent 22e7a9e4
......@@ -67,7 +67,9 @@ using C strings where possible and use Python string objects instead.
The obvious exception to this is when passing them back and forth
from and to external C code. Also, C++ strings remember their length
as well, so they can provide a suitable alternative to Python bytes
objects in some cases.
objects in some cases, e.g. when reference counting is not needed
within a well defined context.
Passing byte strings
--------------------
......
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