Skip to content

Commit 3903654

Browse files
author
wklken
committed
Merge pull request wklken#1 from xupeixiang/dev
Update qa-control-flow.md.修改翻译错误
2 parents c5d2ae9 + c837422 commit 3903654

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contents/qa-control-flow.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
### 如何结束退出一个python脚本
32

43
问题 [链接](http://stackoverflow.com/questions/73663/terminating-a-python-script)
@@ -143,7 +142,7 @@ Python Cookbook中的几种方式
143142

144143
问题 [链接](http://stackoverflow.com/questions/2710940/python-if-x-is-not-none-or-if-not-x-is-none)
145144

146-
我总想着使用 'if x is not None' 会更加简明
145+
我总想着使用 'if not x is None' 会更加简明
147146

148147
但是google的Python风格指南使用的却是 'if x is not None'
149148

0 commit comments

Comments
 (0)