@@ -1933,7 +1933,7 @@ is_space(enum PyUnicode_Kind kind, const void *data, Py_ssize_t pos)
1933
1933
Return NULL if malloc fails and an empty string if invalid characters
1934
1934
are found. */
1935
1935
static char *
1936
- numeric_as_ascii (const PyObject * u , int strip_ws , int ignore_underscores )
1936
+ numeric_as_ascii (PyObject * u , int strip_ws , int ignore_underscores )
1937
1937
{
1938
1938
enum PyUnicode_Kind kind ;
1939
1939
const void * data ;
@@ -2047,7 +2047,7 @@ PyDecType_FromCStringExact(PyTypeObject *type, const char *s,
2047
2047
2048
2048
/* Return a new PyDecObject or a subtype from a PyUnicodeObject. */
2049
2049
static PyObject *
2050
- PyDecType_FromUnicode (PyTypeObject * type , const PyObject * u ,
2050
+ PyDecType_FromUnicode (PyTypeObject * type , PyObject * u ,
2051
2051
PyObject * context )
2052
2052
{
2053
2053
PyObject * dec ;
@@ -2067,7 +2067,7 @@ PyDecType_FromUnicode(PyTypeObject *type, const PyObject *u,
2067
2067
* conversion. If the conversion is not exact, fail with InvalidOperation.
2068
2068
* Allow leading and trailing whitespace in the input operand. */
2069
2069
static PyObject *
2070
- PyDecType_FromUnicodeExactWS (PyTypeObject * type , const PyObject * u ,
2070
+ PyDecType_FromUnicodeExactWS (PyTypeObject * type , PyObject * u ,
2071
2071
PyObject * context )
2072
2072
{
2073
2073
PyObject * dec ;
@@ -2150,7 +2150,7 @@ PyDecType_FromSsizeExact(PyTypeObject *type, mpd_ssize_t v, PyObject *context)
2150
2150
/* Convert from a PyLongObject. The context is not modified; flags set
2151
2151
during conversion are accumulated in the status parameter. */
2152
2152
static PyObject *
2153
- dec_from_long (PyTypeObject * type , const PyObject * v ,
2153
+ dec_from_long (PyTypeObject * type , PyObject * v ,
2154
2154
const mpd_context_t * ctx , uint32_t * status )
2155
2155
{
2156
2156
PyObject * dec ;
@@ -2201,7 +2201,7 @@ dec_from_long(PyTypeObject *type, const PyObject *v,
2201
2201
/* Return a new PyDecObject from a PyLongObject. Use the context for
2202
2202
conversion. */
2203
2203
static PyObject *
2204
- PyDecType_FromLong (PyTypeObject * type , const PyObject * v , PyObject * context )
2204
+ PyDecType_FromLong (PyTypeObject * type , PyObject * v , PyObject * context )
2205
2205
{
2206
2206
PyObject * dec ;
2207
2207
uint32_t status = 0 ;
@@ -2227,7 +2227,7 @@ PyDecType_FromLong(PyTypeObject *type, const PyObject *v, PyObject *context)
2227
2227
/* Return a new PyDecObject from a PyLongObject. Use a maximum context
2228
2228
for conversion. If the conversion is not exact, set InvalidOperation. */
2229
2229
static PyObject *
2230
- PyDecType_FromLongExact (PyTypeObject * type , const PyObject * v ,
2230
+ PyDecType_FromLongExact (PyTypeObject * type , PyObject * v ,
2231
2231
PyObject * context )
2232
2232
{
2233
2233
PyObject * dec ;
0 commit comments