diff options
author | Inada Naoki <songofacandy@gmail.com> | 2021-05-08 01:17:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 01:17:37 (GMT) |
commit | 4d4be477055d0f9e415407bcd193788fae04dc11 (patch) | |
tree | 5940271bc93dc31e45cc134812c58ba45410d0be /Modules/_dbmmodule.c | |
parent | 092f9ddb5e85665552c8207972cd393d492f764e (diff) | |
download | cpython-4d4be477055d0f9e415407bcd193788fae04dc11.zip cpython-4d4be477055d0f9e415407bcd193788fae04dc11.tar.gz cpython-4d4be477055d0f9e415407bcd193788fae04dc11.tar.bz2 |
Do not use Py_ssize_clean_t (GH-25940)
Diffstat (limited to 'Modules/_dbmmodule.c')
-rw-r--r-- | Modules/_dbmmodule.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Modules/_dbmmodule.c b/Modules/_dbmmodule.c index 58f9c2c..96d0b0a 100644 --- a/Modules/_dbmmodule.c +++ b/Modules/_dbmmodule.c @@ -299,8 +299,8 @@ Return the value for key if present, otherwise default. static PyObject * _dbm_dbm_get_impl(dbmobject *self, PyTypeObject *cls, const char *key, - Py_ssize_clean_t key_length, PyObject *default_value) -/*[clinic end generated code: output=34851b5dc1c664dc input=66b993b8349fa8c1]*/ + Py_ssize_t key_length, PyObject *default_value) +/*[clinic end generated code: output=b4e55f8b6d482bc4 input=66b993b8349fa8c1]*/ { datum dbm_key, val; _dbm_state *state = PyType_GetModuleState(cls); @@ -331,9 +331,8 @@ If key is not in the database, it is inserted with default as the value. static PyObject * _dbm_dbm_setdefault_impl(dbmobject *self, PyTypeObject *cls, const char *key, - Py_ssize_clean_t key_length, - PyObject *default_value) -/*[clinic end generated code: output=d5c68fe673886767 input=126a3ff15c5f8232]*/ + Py_ssize_t key_length, PyObject *default_value) +/*[clinic end generated code: output=9c2f6ea6d0fb576c input=126a3ff15c5f8232]*/ { datum dbm_key, val; Py_ssize_t tmp_size; |