summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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.