File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -509,6 +509,15 @@ APIs:
509509 arguments.
510510
511511
512+ .. c :function :: PyObject* PyUnicode_FromObject (PyObject *obj)
513+
514+ Copy an instance of a Unicode subtype to a new true Unicode object if
515+ necessary. If *obj * is already a true Unicode object (not a subtype),
516+ return the reference with incremented refcount.
517+
518+ Objects other than Unicode or its subtypes will cause a :exc:`TypeError`.
519+
520+
512521.. c:function:: PyObject* PyUnicode_FromEncodedObject(PyObject *obj, \
513522 const char *encoding, const char *errors)
514523
@@ -616,15 +625,6 @@ APIs:
616625 .. versionadded :: 3.3
617626
618627
619- .. c :function :: PyObject* PyUnicode_FromObject (PyObject *obj)
620-
621- Copy an instance of a Unicode subtype to a new true Unicode object if
622- necessary. If *obj * is already a true Unicode object (not a subtype),
623- return the reference with incremented refcount.
624-
625- Objects other than Unicode or its subtypes will cause a :exc:`TypeError`.
626-
627-
628628Locale Encoding
629629"""""""""""""""
630630
You can’t perform that action at this time.
0 commit comments