Skip to content

Commit b3a28d7

Browse files
committed
Use the expected return type.
1 parent 3ea0cb8 commit b3a28d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object/class.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ namespace objects
502502
);
503503
}
504504

505-
str qualname(const char *name)
505+
object qualname(const char *name)
506506
{
507507
#if PY_VERSION_HEX >= 0x03030000
508508
if (PyObject_HasAttrString(scope().ptr(), "__qualname__")) {

0 commit comments

Comments
 (0)