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

methane webhook-mailer at python.org
Mon May 29 05:06:16 EDT 2023


https://github.com/python/cpython/commit/5dc6b18cb0c83faab556b46bdcf96ce21880fa91
commit: 5dc6b18cb0c83faab556b46bdcf96ce21880fa91
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: methane <songofacandy at gmail.com>
date: 2023-05-29T18:05:42+09:00
summary:

Fix compiler warning in unicodeobject.c (GH-105050)

Fix compiler warning in unicodeobject.c (GH-105050)
(cherry picked from commit e92ac0a741b125f1cffe8c07b054d1dea7b0a05a)

Co-authored-by: Inada Naoki <songofacandy at gmail.com>

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