Skip to content

Commit

Permalink
minor: gc文本矫正 imporr -> import
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuoZhuoCrayon committed Sep 10, 2020
1 parent 73befd2 commit 5ddccaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Interpreter/gc/gc.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ gc.set_threshold(100, 20)
one way is to call `gc.collect()` manually, it will collect the highest collection directly

```python3
>>> imporr gc
>>> import gc
>>> gc.collect()

```
Expand Down
2 changes: 1 addition & 1 deletion Interpreter/gc/gc_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ CPython 中一共有 3 代, 对应了 3 个 **threshold**, 每一代对应一个
一个方式是直接调用 `gc.collect()`, 不传参数的情况下直接从最老年代开始回收

```python3
>>> imporr gc
>>> import gc
>>> gc.collect()

```
Expand Down

0 comments on commit 5ddccaa

Please sign in to comment.