[Python-checkins] r63686 - python/trunk/Doc/c-api/string.rst
benjamin.peterson
python-checkins at python.org
Mon May 26 16:02:10 CEST 2008
Author: benjamin.peterson
Date: Mon May 26 16:02:09 2008
New Revision: 63686
Log:
note that PyString and has been aliased to PyBytes
Modified:
python/trunk/Doc/c-api/string.rst
Modified: python/trunk/Doc/c-api/string.rst
==============================================================================
--- python/trunk/Doc/c-api/string.rst (original)
+++ python/trunk/Doc/c-api/string.rst Mon May 26 16:02:09 2008
@@ -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
More information about the Python-checkins
mailing list