2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-28 07:22:31 +00:00

Use the expected return type.

This commit is contained in:
Stefan Seefeld
2024-09-17 20:40:19 -04:00
parent b6f1f0ea6b
commit 9f6fea89ef

View File

@@ -502,7 +502,7 @@ namespace objects
);
}
str qualname(const char *name)
object qualname(const char *name)
{
#if PY_VERSION_HEX >= 0x03030000
if (PyObject_HasAttrString(scope().ptr(), "__qualname__")) {