Skip to content

Commit 15cb250

Browse files
committed
Remove unused function
1 parent 06c1680 commit 15cb250

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Include/internal/pycore_long.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,6 @@ _PyLong_IsNonNegativeCompact(const PyLongObject* op) {
207207
}
208208

209209

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-
219210
static inline int
220211
_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
221212
assert(PyLong_Check(a));

0 commit comments

Comments
 (0)