diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-01 02:52:55 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-01 02:52:55 +0100 |
| commit | 3ba82aa765fc1a176603ca00b447aafe583ae5a0 (patch) | |
| tree | 53b8ff3cf4545dcb2902bb3be8548bd86c660a56 /Doc/c-api/arg.rst | |
| parent | ee450093a9cebf99f186f69a14c7c36ff23b5b00 (diff) | |
| download | cpython-git-3ba82aa765fc1a176603ca00b447aafe583ae5a0.tar.gz | |
c-api: Replace PyUnicodeObject* by PyObject* in "U" format doc
Diffstat (limited to 'Doc/c-api/arg.rst')
| -rw-r--r-- | Doc/c-api/arg.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index a171ac7c53..196aa772b8 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -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\*`. |
