Skip to content

Commit

Permalink
Added exception handling note
Browse files Browse the repository at this point in the history
  • Loading branch information
jekil committed Aug 9, 2012
1 parent f69c9a9 commit 0657abe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/book/src/development/code_style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ When catching an exception and accessing its handle, use ``as e``::
except Exception, something:
bar()

It's a good practice use "e" insead of "e.message", as in the example above.

Documentation
=============

Expand Down

0 comments on commit 0657abe

Please sign in to comment.