diff --git a/docs/performance.md b/docs/performance.md index 3ff42425..c1556e59 100644 --- a/docs/performance.md +++ b/docs/performance.md @@ -10,7 +10,7 @@ Currently, pkpy is almost~ fast as cpython 3.8. Here is a benchmark result of a Benchmark files are located in `benchmarks/`. -https://github.com/blueloveTH/pocketpy/actions/runs/4729609975/jobs/8392313856 +See [actions/runs/4729609975/jobs/8392313856](https://github.com/blueloveTH/pocketpy/actions/runs/4729609975/jobs/8392313856). ``` diff --git a/docs/quick-start/interop.md b/docs/quick-start/interop.md index 0183b5c0..346dabf6 100644 --- a/docs/quick-start/interop.md +++ b/docs/quick-start/interop.md @@ -37,7 +37,7 @@ std::cout << CAST(Str, i); // abc ### Type check -+ `is_type(PyObject* obj, Type type)` -+ `is_non_tagged_type(PyObject* obj, Type type)` -+ `VM::check_type(PyObject* obj, Type type)` -+ `VM::check_non_tagged_type(PyObject* obj, Type type)` \ No newline at end of file ++ `bool is_type(PyObject* obj, Type type)` ++ `bool is_non_tagged_type(PyObject* obj, Type type)` ++ `void VM::check_type(PyObject* obj, Type type)` throws `TypeError` on failure ++ `void VM::check_non_tagged_type(PyObject* obj, Type type)` throws `TypeError` on failure \ No newline at end of file