forked frompython/cpython
- Notifications
You must be signed in to change notification settings - Fork0
Commitb359f66
authored
pythongh-120593: Make _PyLong_CompactValue() parameter const again (python#122367)
Change _PyLong_IsCompact() and _PyLong_CompactValue() parameter typefrom 'PyObject*' to 'const PyObject*'. Avoid the Py_TYPE() macrowhich does not support const parameter.1 parentaa449cf commitb359f66
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
| 122 | + | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments
Comments
(0)