File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -672,11 +672,13 @@ Export API
672672
673673 .. c:member:: uint8_t bits_per_digit
674674
675- Bits per digit.
675+ Bits per digit. For example, a 15 bit digit means that bits 0-14 contain
676+ meaningful information.
676677
677678 .. c:member:: uint8_t digit_size
678679
679- Digit size in bytes.
680+ Digit size in bytes. For example, a 15 bit digit will require at least 2
681+ bytes.
680682
681683 .. c:member:: int8_t digits_order
682684
@@ -780,6 +782,8 @@ The :c:type:`PyLongWriter` API can be used to import an integer.
780782 *ndigits * is the number of digits in the *digits * array. It must be
781783 greater than 0.
782784
785+ *digits * must not be NULL.
786+
783787 The caller can either initialize the array of digits *digits * and then
784788 either call :c:func: `PyLongWriter_Finish ` to get a Python :class: `int ` or
785789 :c:func: `PyLongWriter_Discard ` to destroy the writer instance. Digits must
You can’t perform that action at this time.
0 commit comments