@@ -552,17 +552,17 @@ Import/Export API
552552 A single unsigned digit.
553553
554554 It is usually used in an *array of digits*, such as the
555- :c:member:`PyUnstable_Long_DigitArray .digits` array.
555+ :c:member:`PyLong_DigitArray .digits` array.
556556
557557 Its size depend on the :c:macro:`!PYLONG_BITS_IN_DIGIT` macro:
558558 see the ``configure`` :option:`--enable-big-digits` option.
559559
560- See :c:member:`PyUnstable_Long_LAYOUT .bits_per_digit` for the number of bits per
561- digit and :c:member:`PyUnstable_Long_LAYOUT .digit_size` for the size of a digit (in
560+ See :c:member:`PyLong_LAYOUT .bits_per_digit` for the number of bits per
561+ digit and :c:member:`PyLong_LAYOUT .digit_size` for the size of a digit (in
562562 bytes).
563563
564564
565- .. c:struct:: PyUnstable_Long_LAYOUT
565+ .. c:struct:: PyLong_LAYOUT
566566
567567 Internal layout of a Python :class:`int` object.
568568
@@ -591,7 +591,7 @@ Import/Export API
591591 - ``-1`` for least significant first (little endian)
592592
593593
594- .. c:function:: PyObject* PyUnstable_Long_Import (int negative, size_t ndigits, Py_digit *digits)
594+ .. c:function:: PyObject* PyLong_Import (int negative, size_t ndigits, Py_digit *digits)
595595
596596 Create a Python :class: `int ` object from an array of digits.
597597
@@ -604,14 +604,14 @@ Import/Export API
604604
605605 *digits * is an array of unsigned digits.
606606
607- See :c:struct: `PyUnstable_Long_LAYOUT ` for the internal layout of an integer.
607+ See :c:struct: `PyLong_LAYOUT ` for the internal layout of an integer.
608608
609609
610- .. c :struct :: PyUnstable_Long_DigitArray
610+ .. c :struct :: PyLong_DigitArray
611611
612612 A Python :class: `int ` object exported as an array of digits.
613613
614- See :c:struct: `PyUnstable_Long_LAYOUT ` for the internal layout of an
614+ See :c:struct: `PyLong_LAYOUT ` for the internal layout of an
615615 integer.
616616
617617 .. c :member :: PyLongObject *obj
@@ -631,7 +631,7 @@ Import/Export API
631631 Array of unsigned digits.
632632
633633
634- .. c :function :: int PyUnstable_Long_Export (PyObject *obj, PyUnstable_Long_DigitArray *array)
634+ .. c :function :: int PyLong_Export (PyObject *obj, PyLong_DigitArray *array)
635635
636636 Export a Python :class: `int ` object as an array of digits.
637637
@@ -641,10 +641,10 @@ Import/Export API
641641 This function always succeeds if *obj * is a Python :class: `int ` object or a
642642 subclass.
643643
644- :c:func: `PyUnstable_Long_ReleaseExport ` must be called once done with using
644+ :c:func: `PyLong_ReleaseExport ` must be called once done with using
645645 *export *.
646646
647647
648- .. c :function :: void PyUnstable_Long_ReleaseExport (PyUnstable_Long_DigitArray *array)
648+ .. c :function :: void PyLong_ReleaseExport (PyLong_DigitArray *array)
649649
650- Release the export *array * created by :c:func: `PyUnstable_Long_Export `.
650+ Release the export *array * created by :c:func: `PyLong_Export `.
0 commit comments