summaryrefslogtreecommitdiffstats
path: root/Modules/_gdbmmodule.c
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-05-08 01:17:37 (GMT)
committerGitHub <noreply@github.com>2021-05-08 01:17:37 (GMT)
commit4d4be477055d0f9e415407bcd193788fae04dc11 (patch)
tree5940271bc93dc31e45cc134812c58ba45410d0be /Modules/_gdbmmodule.c
parent092f9ddb5e85665552c8207972cd393d492f764e (diff)
downloadcpython-4d4be477055d0f9e415407bcd193788fae04dc11.zip
cpython-4d4be477055d0f9e415407bcd193788fae04dc11.tar.gz
cpython-4d4be477055d0f9e415407bcd193788fae04dc11.tar.bz2
Do not use Py_ssize_clean_t (GH-25940)
Diffstat (limited to 'Modules/_gdbmmodule.c')
-rw-r--r--Modules/_gdbmmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_gdbmmodule.c b/Modules/_gdbmmodule.c
index c52190a..dc8b8b6 100644
--- a/Modules/_gdbmmodule.c
+++ b/Modules/_gdbmmodule.c
@@ -448,8 +448,8 @@ to create a list in memory that contains them all:
static PyObject *
_gdbm_gdbm_nextkey_impl(gdbmobject *self, PyTypeObject *cls, const char *key,
- Py_ssize_clean_t key_length)
-/*[clinic end generated code: output=204964441fdbaf02 input=fcf6a51a96ce0172]*/
+ Py_ssize_t key_length)
+/*[clinic end generated code: output=c81a69300ef41766 input=fcf6a51a96ce0172]*/
{
PyObject *v;
datum dbm_key, nextkey;