diff --git a/include/pocketpy/pocketpy.h b/include/pocketpy/pocketpy.h index 48fe5ab4..7154ffd1 100644 --- a/include/pocketpy/pocketpy.h +++ b/include/pocketpy/pocketpy.h @@ -158,7 +158,7 @@ py_GlobalRef py_tpobject(py_Type type); const char* py_tpname(py_Type type); /// Call a type to create a new instance. bool py_tpcall(py_Type type, int argc, py_Ref argv); -/// Find the magic method from the given type to the base type. +/// Find the magic method from the given type only. py_GlobalRef py_tpmagic(py_Type type, py_Name name); /// Check if the object is an instance of the given type.