This commit is contained in:
blueloveTH 2024-07-31 11:54:22 +08:00
parent 6c6e4f0512
commit 9162e84ae6

View File

@ -154,7 +154,7 @@ py_GlobalRef py_tpobject(py_Type type);
/// Get the type name. /// Get the type name.
const char* py_tpname(py_Type type); const char* py_tpname(py_Type type);
/// Call a type to create a new instance. /// Call a type to create a new instance.
bool py_tpcall(py_Type type, int argc, py_Ref argv); bool py_tpcall(py_Type type, int argc, py_Ref argv) PY_RAISE;
/// Find the magic method from the given type only. /// Find the magic method from the given type only.
py_GlobalRef py_tpmagic(py_Type type, py_Name name); py_GlobalRef py_tpmagic(py_Type type, py_Name name);