[Python-checkins] Fix compiler warning in unicodeobject.c (#105050)

methane webhook-mailer at python.org
Mon May 29 04:31:52 EDT 2023


https://github.com/python/cpython/commit/e92ac0a741b125f1cffe8c07b054d1dea7b0a05a
commit: e92ac0a741b125f1cffe8c07b054d1dea7b0a05a
branch: main
author: Inada Naoki <songofacandy at gmail.com>
committer: methane <songofacandy at gmail.com>
date: 2023-05-29T17:31:03+09:00
summary:

Fix compiler warning in unicodeobject.c (#105050)

files:
M Objects/unicodeobject.c

diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index ec5684b1d095..6f25f91c0ff2 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -236,7 +236,7 @@ static inline PyObject *get_interned_dict(PyInterpreterState *interp)
 }
 
 Py_ssize_t
-_PyUnicode_InternedSize()
+_PyUnicode_InternedSize(void)
 {
     return PyObject_Length(get_interned_dict(_PyInterpreterState_GET()));
 }



More information about the Python-checkins mailing list