Skip to content
Prev Previous commit
Next Next commit
Update doc
  • Loading branch information
vstinner committed Jun 21, 2024
commit 53cd9375ffeef93339b5f299ac947b7b8d2a9550
4 changes: 3 additions & 1 deletion Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ APIs:
*requested_formats* can be a single format or a combination of the formats
in the table above.

Note that future versions of Python may introduce additional formats.

.. versionadded:: 3.14


Expand All @@ -384,7 +386,7 @@ APIs:

.. c:function:: PyObject* PyUnicode_Import(const void *data, Py_ssize_t nbytes, uint32_t format)

Import a string from the *format* format.
Create a string object from a buffer in an “export format.

* Return a reference to a new string object on success.
* Set an exception and return ``NULL`` on error.
Expand Down