summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <adam@adambard.com>2013-06-28 21:11:54 -0700
committerAdam <adam@adambard.com>2013-06-28 21:11:54 -0700
commite1424579e76958cdb7eda4efb5ceaa214d322681 (patch)
tree69022794eb021863d8bc719e874dec8cf13cb4fc
parent879d31e2c648666c22ec332545482caa2a0c6bf4 (diff)
Fixes #14: Clarified if-as-expression wording in python tut
-rw-r--r--python.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown
index 4cfecbbd..8c56a3a9 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -101,7 +101,7 @@ try:
except NameError:
print "Raises a name error"
-# Conditional Expressions can be used when assigning
+# if can be used as an expression
some_var = a if a > b else b
# If a is greater than b, then a is assigned to some_var.
# Otherwise b is assigned to some_var.