diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-26 14:02:09 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-26 14:02:09 (GMT) |
commit | 404d182bbabdd4ca4a57288ef67aa40b4cddd992 (patch) | |
tree | 6fd8c3c998d25ed8f2fc3e5a59f2d276a9c9fff1 /Doc/c-api/string.rst | |
parent | 36f0a80bce377ef088902ea76276593c6b3196a8 (diff) | |
download | cpython-404d182bbabdd4ca4a57288ef67aa40b4cddd992.zip cpython-404d182bbabdd4ca4a57288ef67aa40b4cddd992.tar.gz cpython-404d182bbabdd4ca4a57288ef67aa40b4cddd992.tar.bz2 |
note that PyString and has been aliased to PyBytes
Diffstat (limited to 'Doc/c-api/string.rst')
-rw-r--r-- | Doc/c-api/string.rst | 8 |
1 files 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 |