From e1424579e76958cdb7eda4efb5ceaa214d322681 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 28 Jun 2013 21:11:54 -0700 Subject: Fixes #14: Clarified if-as-expression wording in python tut --- python.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python.html.markdown') 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. -- cgit v1.2.3