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 18, 2024
1 parent af0d47e commit 8ae66d6
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 8ae66d6

Please sign in to comment.