From 3aea7124296af09ea86f3aed4470eb5a096a0aa4 Mon Sep 17 00:00:00 2001 From: dongfangtianyu <7629022+dongfangtianyu@users.noreply.github.com> Date: Wed, 17 Nov 2021 13:27:45 +0800 Subject: [PATCH] fix table style n py/4.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正表显示样式 --- docs/py/4.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/py/4.md b/docs/py/4.md index 4a792ea..57a103d 100644 --- a/docs/py/4.md +++ b/docs/py/4.md @@ -16,15 +16,15 @@ Python 3.7 中有 33 个关键字。 随着时间的推移,此数字可能会 除`True`,`False`和`None`之外的所有关键字均使用小写字母,并且必须照原样书写。 所有关键字的列表如下。 -| | | | | | -| --- | --- | --- | --- | --- | --- | -| `False` | `await` | `else` | `import` | `pass` | -| `None` | `break` | `except` | `in` | `raise` | -| `True` | `class` | `finally` | `is` | `return` | -| `and` | `continue` | `for` | `lambda` | `try` | -| `as` | `def` | `from` | `nonlocal` | `while` | -| `assert` | `del` | `global` | `not` | `with` | -| `async` | `elif` | `if` | `or` | `yield` | +| | | | | | +| -------- | ---------- | --------- | ---------- | -------- | +| `False` | `await` | `else` | `import` | `pass` | +| `None` | `break` | `except` | `in` | `raise` | +| `True` | `class` | `finally` | `is` | `return` | +| `and` | `continue` | `for` | `lambda` | `try` | +| `as` | `def` | `from` | `nonlocal` | `while` | +| `assert` | `del` | `global` | `not` | `with` | +| `async` | `elif` | `if` | `or` | `yield` | 一次查看所有关键字并试图弄清它们的含义可能不胜枚举。 @@ -80,4 +80,4 @@ Python 是区分大小写的语言。 这意味着`Variable`和`variable`不同 始终给标识符一个有意义的名称。 尽管`c = 10`是一个有效的名称,但编写`count = 10`会更有意义,并且在经过一段较​​长的间隔后查看代码时,更容易弄清楚它代表什么。 -可以使用下划线分隔多个单词,例如`this_is_a_long_variable`。 \ No newline at end of file +可以使用下划线分隔多个单词,例如`this_is_a_long_variable`。 -- GitLab