From 787df86311022a8fcaba27d6f0d27353e2c78b9f Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 19 Nov 2023 23:34:17 +0800 Subject: [PATCH] ... --- docs/quick-start/config.md | 2 +- docs/quick-start/interop.md | 2 +- docs/quick-start/modules.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/quick-start/config.md b/docs/quick-start/config.md index 8586304b..e4bcd73c 100644 --- a/docs/quick-start/config.md +++ b/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`. 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. \ No newline at end of file +3. Edit `user_config.h` to override default settings. diff --git a/docs/quick-start/interop.md b/docs/quick-start/interop.md index 2a1aa20d..3335225d 100644 --- a/docs/quick-start/interop.md +++ b/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. + `void check_type(PyObject* obj, Type type)` -+ `void check_non_tagged_type(PyObject* obj, Type type)` \ No newline at end of file ++ `void check_non_tagged_type(PyObject* obj, Type type)` diff --git a/docs/quick-start/modules.md b/docs/quick-start/modules.md index 0f8c33ca..f30f53b2 100644 --- a/docs/quick-start/modules.md +++ b/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. This is equivalent to `import` in python. -Return the module object if success. \ No newline at end of file +Return the module object if success.