summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/python-cn.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'zh-cn/python-cn.html.markdown')
-rw-r--r--zh-cn/python-cn.html.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/zh-cn/python-cn.html.markdown b/zh-cn/python-cn.html.markdown
index 6c5556fc..4469443f 100644
--- a/zh-cn/python-cn.html.markdown
+++ b/zh-cn/python-cn.html.markdown
@@ -129,12 +129,13 @@ None # => None
"etc" is None # => False
None is None # => True
-# None,0,空字符串,空列表,空字典都算是False
+# None,0,空字符串,空列表,空字典,空元组都算是False
# 所有其他值都是True
bool(0) # => False
bool("") # => False
bool([]) # => False
bool({}) # => False
+bool(()) # => False
####################################################