blueloveTH 2 anos atrás
pai
commit
d5e2dbd1fd
2 arquivos alterados com 5 adições e 5 exclusões
  1. 1 1
      docs/performance.md
  2. 4 4
      docs/quick-start/interop.md

+ 1 - 1
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).
 
 
 ```

+ 4 - 4
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)`
++ `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