File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -589,6 +589,14 @@ APIs:
589
589
Objects other than Unicode or its subtypes will cause a :exc:`TypeError`.
590
590
591
591
592
+ .. c:function:: PyObject* PyUnicode_FromOrdinal(int ordinal)
593
+
594
+ Create a Unicode Object from the given Unicode code point *ordinal*.
595
+
596
+ The ordinal must be in ``range(0x110000)``. A :exc:`ValueError` is
597
+ raised in the case it is not.
598
+
599
+
592
600
.. c:function:: PyObject* PyUnicode_FromEncodedObject(PyObject *obj, \
593
601
const char *encoding, const char *errors)
594
602
Original file line number Diff line number Diff line change @@ -2756,6 +2756,9 @@ PyUnicode_FromFormatV:PyObject*::+1:
2756
2756
PyUnicode_FromFormatV:const char*:format::
2757
2757
PyUnicode_FromFormatV:va_list:args::
2758
2758
2759
+ PyUnicode_FromOrdinal:PyObject*::+1:
2760
+ PyUnicode_FromOrdinal:int:ordinal::
2761
+
2759
2762
PyUnicode_GetDefaultEncoding:const char*:::
2760
2763
PyUnicode_GetDefaultEncoding::void::
2761
2764
You can’t perform that action at this time.
0 commit comments