diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-29 02:05:42 -0700 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-05-31 06:43:28 +0200 |
commit | 4005644cb38a62a4fab6727d78f603ad5c25c527 (patch) | |
tree | 8b41edfbb7edfb51b426e5653c8efcb4c4fd0606 | |
parent | Document PEP 698 and other new typing features in What's New (GH-104957) (#10... (diff) | |
download | cpython-4005644cb38a62a4fab6727d78f603ad5c25c527.tar.gz cpython-4005644cb38a62a4fab6727d78f603ad5c25c527.tar.bz2 cpython-4005644cb38a62a4fab6727d78f603ad5c25c527.zip |
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@gmail.com>
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index ec5684b1d09..6f25f91c0ff 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())); } |