Skip to content

Commit

Permalink
Use the expected return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseefeld committed Sep 19, 2024
1 parent b6f1f0e commit 9f6fea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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__")) {
Expand Down

0 comments on commit 9f6fea8

Please sign in to comment.