Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53cd937

Browse files
committed
Update doc
1 parent 62f4598 commit 53cd937

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/c-api/unicode.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ APIs:
372372
*requested_formats* can be a single format or a combination of the formats
373373
in the table above.
374374
375+
Note that future versions of Python may introduce additional formats.
376+
375377
.. versionadded:: 3.14
376378
377379
@@ -384,7 +386,7 @@ APIs:
384386
385387
.. c:function:: PyObject* PyUnicode_Import(const void *data, Py_ssize_t nbytes, uint32_t format)
386388
387-
Import a string from the *format* format.
389+
Create a string object from a buffer in an “export format.
388390
389391
* Return a reference to a new string object on success.
390392
* Set an exception and return ``NULL`` on error.

0 commit comments

Comments
 (0)