We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c1680 commit 15cb250Copy full SHA for 15cb250
Include/internal/pycore_long.h
@@ -207,15 +207,6 @@ _PyLong_IsNonNegativeCompact(const PyLongObject* op) {
207
}
208
209
210
-/* Return the value of a non-negative compact as a machine int */
211
-static inline Py_ssize_t
212
-_PyLong_GetNonNegativeCompactValue(const PyLongObject* op) {
213
- assert(PyLong_Check(op));
214
- assert (_PyLong_IsNonNegativeCompact(op));
215
- return op->long_value.ob_digit[0];
216
-}
217
-
218
219
static inline int
220
_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
221
assert(PyLong_Check(a));
0 commit comments