summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
authorSteven Basart <xksteven@users.noreply.github.com>2014-09-07 19:32:46 -0400
committerSteven Basart <xksteven@users.noreply.github.com>2014-09-07 19:32:46 -0400
commit81b4f49e999a6ec41bd1f79d77208d2db0a29871 (patch)
treea871933cd3dcac7282fe1bf844dd8f9ad7164579 /python.html.markdown
parent820eebcd3362841721a981f91695b64af8f50b94 (diff)
[python/en] Added Bool operators
Modified Bool operators
Diffstat (limited to 'python.html.markdown')
-rw-r--r--python.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown
index 6b2a40de..390c7b76 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -62,7 +62,7 @@ to Python 2.x. Look for another tour of Python 3 soon!
+True and False #=> False
+False or True #=> True
+
-+# Note with ints
++# Note using Bool operators with ints
+0 and 2 #=> 0
+-5 or 0 #=> -5
+0 == False #=> True