blueloveTH há 2 anos atrás
pai
commit
787df86311

+ 1 - 1
docs/quick-start/config.md

@@ -29,4 +29,4 @@ You can create a `user_config.h` in the same directory as `pocketpy.h` to overri
 
 
 1. Copy [src/config.h](https://github.com/blueloveTH/pocketpy/blob/main/include/pocketpy/config.h) and rename it to `user_config.h`.
 1. Copy [src/config.h](https://github.com/blueloveTH/pocketpy/blob/main/include/pocketpy/config.h) and rename it to `user_config.h`.
 2. Define a macro `PK_USER_CONFIG_H` in `user_config.h`. This invalidates the default `config.h` and enables your `user_config.h`.
 2. Define a macro `PK_USER_CONFIG_H` in `user_config.h`. This invalidates the default `config.h` and enables your `user_config.h`.
-3. Edit `user_config.h` to override default settings.
+3. Edit `user_config.h` to override default settings.

+ 1 - 1
docs/quick-start/interop.md

@@ -115,4 +115,4 @@ You can also use `check_` prefix functions assert the type of a `PyObject*`,
 which will throw `TypeError` on failure.
 which will throw `TypeError` on failure.
 
 
 + `void check_type(PyObject* obj, Type type)`
 + `void check_type(PyObject* obj, Type type)`
-+ `void check_non_tagged_type(PyObject* obj, Type type)`
++ `void check_non_tagged_type(PyObject* obj, Type type)`

+ 1 - 1
docs/quick-start/modules.md

@@ -83,4 +83,4 @@ inline Bytes _default_import_handler(const Str& name){
 
 
 You can use `vm->py_import` to import a module.
 You can use `vm->py_import` to import a module.
 This is equivalent to `import` in python.
 This is equivalent to `import` in python.
-Return the module object if success.
+Return the module object if success.