add hint on when C++ strings are useful
authorStefan Behnel <stefan_ml@behnel.de>
Sun, 2 Jun 2013 13:50:33 +0000 (15:50 +0200)
committerStefan Behnel <stb@skoobe.de>
Sun, 14 Jul 2013 11:42:48 +0000 (13:42 +0200)
docs/src/tutorial/strings.rst

index 0e6ef81..0d45554 100644 (file)
@@ -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
 --------------------