some doc fix

This commit is contained in:
blueloveTH 2023-10-14 01:35:29 +08:00
parent 66d9870150
commit ea94e3c531
3 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ for a quick overview of the supported features.
| Reflection | `hasattr()/getattr()/setattr()` | ✅ | | Reflection | `hasattr()/getattr()/setattr()` | ✅ |
| Import | `import/from..import` | ✅ | | Import | `import/from..import` | ✅ |
| Context Block | `with <expr> as <id>:` | ✅ | | Context Block | `with <expr> as <id>:` | ✅ |
| Type Annotation | `def f(a:int, b:float=1)` | ✅ | | Type Annotation | `def f(a:int, b:float=1)` | ✅ |
| Generator | `yield i` | ✅ | | Generator | `yield i` | ✅ |
| Decorator | `@cache` | ✅ | | Decorator | `@cache` | ✅ |

View File

@ -92,7 +92,7 @@ int main(){
| 反射 | `hasattr()/getattr()/setattr()` | ✅ | | 反射 | `hasattr()/getattr()/setattr()` | ✅ |
| 导入模块 | `import/from..import` | ✅ | | 导入模块 | `import/from..import` | ✅ |
| 上下文管理器 | `with <expr> as <id>:` | ✅ | | 上下文管理器 | `with <expr> as <id>:` | ✅ |
| 类型标注 | `def f(a:int, b:float=1)` | ✅ | | 类型标注 | `def f(a:int, b:float=1)` | ✅ |
| 生成器 | `yield i` | ✅ | | 生成器 | `yield i` | ✅ |
| 装饰器 | `@cache` | ✅ | | 装饰器 | `@cache` | ✅ |

View File

@ -7,7 +7,7 @@ label: Performance
# Performance # Performance
Currently, pkpy is as fast as cpython 3.9. Currently, pkpy is as fast as cpython 3.9.
**Performance results for cpython 3.9 are applicable to for pkpy.** Performance results for cpython 3.9 are applicable to for pkpy.
Here is a benchmark result of `v1.2.6`. Here is a benchmark result of `v1.2.6`.
Files are located in `benchmarks/`. Files are located in `benchmarks/`.