2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 04:22:16 +00:00

Use the expected return type.

This commit is contained in:
Stefan Seefeld
2024-09-17 20:40:19 -04:00
parent 3ea0cb8501
commit b3a28d7033

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__")) {