summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorMax Schumacher <maximilianbschumacher@gmail.com>2020-08-17 16:12:35 +0200
committerGitHub <noreply@github.com>2020-08-17 16:12:35 +0200
commit6fb66a825b8c7f9bb4051843d24ead74d5c7152c (patch)
treef8558133794d6eac58e571c95ce21116d4ffce6f /zh-cn
parentb9fa890a0491db90f371df4b3e27820b2c8a64a5 (diff)
parent4bca6a7dd4a504a075c8a4433997931f49b74547 (diff)
Merge pull request #3919 from but0n/fix-pythonlegacy-cn
[python/zh-cn] Fix a translation mistake
Diffstat (limited to 'zh-cn')
-rw-r--r--zh-cn/pythonlegacy-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/pythonlegacy-cn.html.markdown b/zh-cn/pythonlegacy-cn.html.markdown
index 756081d6..f8aa2332 100644
--- a/zh-cn/pythonlegacy-cn.html.markdown
+++ b/zh-cn/pythonlegacy-cn.html.markdown
@@ -163,7 +163,7 @@ li[:3] # => [1, 2, 4]
del li[2] # li 现在是 [1, 2, 3]
# 合并列表
-li + other_li # => [1, 2, 3, 4, 5, 6] - 并不会不改变这两个列表
+li + other_li # => [1, 2, 3, 4, 5, 6] - 并不会改变这两个列表
# 通过拼接来合并列表
li.extend(other_li) # li 是 [1, 2, 3, 4, 5, 6]