From 404d182bbabdd4ca4a57288ef67aa40b4cddd992 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 26 May 2008 14:02:09 +0000 Subject: note that PyString and has been aliased to PyBytes --- Doc/c-api/string.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Doc/c-api/string.rst b/Doc/c-api/string.rst index d0379c9..f2e543c 100644 --- a/Doc/c-api/string.rst +++ b/Doc/c-api/string.rst @@ -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 -- cgit v0.12