summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/python-cn.html.markdown
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2013-12-11 00:43:12 -0800
committerNami-Doc <vendethiel@hotmail.fr>2013-12-11 00:43:12 -0800
commite9d35278a538ab87f337691104b2d8d2a13efbdd (patch)
tree4fe6005b84190970c899103386cfd5a7c6c82ca5 /zh-cn/python-cn.html.markdown
parentd13b4766f8c900a56a52c1e8f4a997b1762efe1c (diff)
parenta78601e1cffebf61f61eda378699cd91e06488c7 (diff)
Merge pull request #444 from picasso250/master
[bash/zh-cn][git/zh-cn][java/zh-cn][python/zh-cn] typo
Diffstat (limited to 'zh-cn/python-cn.html.markdown')
-rwxr-xr-xzh-cn/python-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/python-cn.html.markdown b/zh-cn/python-cn.html.markdown
index 51efaac3..deb94cdc 100755
--- a/zh-cn/python-cn.html.markdown
+++ b/zh-cn/python-cn.html.markdown
@@ -232,7 +232,7 @@ filled_dict.setdefault("five", 6) # filled_dict["five"] 的值仍然是 5
# 集合储存无顺序的元素
empty_set = set()
# 初始化一个集合
-some_set = set([1, 2, 2, 3, 4]) # filled_set 现在是 set([1, 2, 3, 4])
+some_set = set([1, 2, 2, 3, 4]) # some_set 现在是 set([1, 2, 3, 4])
# Python 2.7 之后,大括号可以用来表示集合
filled_set = {1, 2, 2, 3, 4} # => {1 2 3 4}