| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -125,9 +125,9 @@ _PyLong_IsCompact(const PyLongObject* op) { | |||
| 125 | 125 | } | |
| 126 | 126 | ||
| 127 | 127 | static inline int | |
| 128 | - PyLong_CheckCompact(const PyObject *op) | ||
| 128 | + PyLong_CheckCompact(PyObject *op) | ||
| 129 | 129 | { | |
| 130 | - return PyLong_CheckExact(op) && _PyLong_IsCompact((PyLongObject *)op); | ||
| 130 | + return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op); | ||
| 131 | 131 | } | |
| 132 | 132 | ||
| 133 | 133 | #define PyUnstable_Long_IsCompact _PyLong_IsCompact | |
| Back | FazBrowse Home | New Git URL |
0 commit comments