c-api: Replace PyUnicodeObject* by PyObject* in "U" format doc

This commit is contained in:
Victor Stinner 2011-12-01 02:52:55 +01:00
parent ee450093a9
commit 3ba82aa765
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ Unless otherwise stated, buffers are not NUL-terminated.
Like ``u#``, but the Python object may also be ``None``, in which case the
:c:type:`Py_UNICODE` pointer is set to *NULL*.
``U`` (:class:`str`) [PyUnicodeObject \*]
``U`` (:class:`str`) [PyObject \*]
Requires that the Python object is a Unicode object, without attempting
any conversion. Raises :exc:`TypeError` if the object is not a Unicode
object. The C variable may also be declared as :c:type:`PyObject\*`.