]> granicus.if.org Git - python/commitdiff
note that PyString and has been aliased to PyBytes
authorBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2008 14:02:09 +0000 (14:02 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2008 14:02:09 +0000 (14:02 +0000)
Doc/c-api/string.rst

index d0379c9821e20da36d7927662bee6463c4863e46..f2e543cce38378aa9a19a4a24d895f0175f65432 100644 (file)
@@ -2,12 +2,16 @@
 
 .. _stringobjects:
 
-String Objects
---------------
+String/Bytes Objects
+--------------------
 
 These functions raise :exc:`TypeError` when expecting a string parameter and are
 called with a non-string parameter.
 
+.. note::
+   These functions have been renamed to PyBytes_* in Python 3.x. The PyBytes
+   names are also available in 2.6.
+
 .. index:: object: string