diff options
author | Adam <adam@adambard.com> | 2013-06-28 21:11:54 -0700 |
---|---|---|
committer | Adam <adam@adambard.com> | 2013-06-28 21:11:54 -0700 |
commit | e1424579e76958cdb7eda4efb5ceaa214d322681 (patch) | |
tree | 69022794eb021863d8bc719e874dec8cf13cb4fc | |
parent | 879d31e2c648666c22ec332545482caa2a0c6bf4 (diff) |
Fixes #14: Clarified if-as-expression wording in python tut
-rw-r--r-- | python.html.markdown | 2 |
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. |