Skip to content

Commit 49ca044

Browse files
committed
Fix return type.
1 parent 3309eb2 commit 49ca044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/cpython/code.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static inline Py_ssize_t PyCode_GetNumFree(PyCodeObject *op) {
156156
return op->co_nfreevars;
157157
}
158158

159-
static inline Py_ssize_t PyCode_GetFirstFree(PyCodeObject *op) {
159+
static inline int PyCode_GetFirstFree(PyCodeObject *op) {
160160
assert(PyCode_Check(op));
161161
return op->co_nlocalsplus - op->co_nfreevars;
162162
}

0 commit comments

Comments
 (0)