note that PyString and has been aliased to PyBytes

This commit is contained in:
Benjamin Peterson 2008-05-26 14:02:09 +00:00
parent 36f0a80bce
commit 404d182bba

View file

@ -2,12 +2,16 @@
.. _stringobjects: .. _stringobjects:
String Objects String/Bytes Objects
-------------- --------------------
These functions raise :exc:`TypeError` when expecting a string parameter and are These functions raise :exc:`TypeError` when expecting a string parameter and are
called with a non-string parameter. 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 .. index:: object: string