summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorpicasso250 <cumt.xiaochi@gmail.com>2013-12-11 10:53:39 +0800
committerpicasso250 <cumt.xiaochi@gmail.com>2013-12-11 10:53:39 +0800
commit943dbf9f6a018ab94b8a569a7a8d982a20702ef7 (patch)
tree81c989ed0e0d849ae04a6bec1ebbaf93867ff15e /zh-cn
parenta9f86384d30ae6568e0c7f61cf5348b56bafe5e7 (diff)
parent19e7828719934bbd760f87d6e52d9cf08eb65056 (diff)
Merge remote-tracking branch 'remotes/origin/patch-3'
Diffstat (limited to 'zh-cn')
-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}