File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -509,6 +509,15 @@ APIs:
509
509
arguments.
510
510
511
511
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
+
512
521
.. c:function:: PyObject* PyUnicode_FromEncodedObject(PyObject *obj, \
513
522
const char *encoding, const char *errors)
514
523
@@ -616,15 +625,6 @@ APIs:
616
625
.. versionadded :: 3.3
617
626
618
627
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
-
628
628
Locale Encoding
629
629
"""""""""""""""
630
630
You can’t perform that action at this time.
0 commit comments