mirror of
https://github.com/python/cpython.git
synced 2025-08-26 11:45:20 +00:00
Fix compiler warning in unicodeobject.c (GH-105050)
Fix compiler warning in unicodeobject.c (GH-105050)
(cherry picked from commit e92ac0a741
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
This commit is contained in:
parent
74bbc603e4
commit
5dc6b18cb0
1 changed files with 1 additions and 1 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue