diff options
author | lodin <LouieDinh@gmail.com> | 2013-06-30 16:22:54 -0700 |
---|---|---|
committer | lodin <LouieDinh@gmail.com> | 2013-06-30 16:22:54 -0700 |
commit | 2431545594963be4a79a2d4fbc79277fb30fef3b (patch) | |
tree | c9e4798813680354908f575b0a9ceaff62e1c040 /python.html.markdown | |
parent | ec6ffed3c92928bc86424ae9f2ea6d1e02bbbc03 (diff) | |
parent | 6cfb00d10650c46508703d4356dddeccacb70e03 (diff) |
Merge pull request #22 from NickPresta/patch-1
Python: Removing the bit about commas and exceptions.
Diffstat (limited to 'python.html.markdown')
-rw-r--r-- | python.html.markdown | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/python.html.markdown b/python.html.markdown index e2ad1eff..19e2aebe 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -290,12 +290,6 @@ try: except IndexError as e: pass # Pass is just a no-op. Usually you would do recovery here. -# Works for Python 2.7 and down: -try: - raise IndexError("This is an index error") -except IndexError, e: # No "as", comma instead - pass - #################################################### ## 4. Functions |