Skip to content

Commit

Permalink
Update exceptions.rst
Browse files Browse the repository at this point in the history
To better explain what pass statement does: nothing :-)
  • Loading branch information
nicola-masarone authored May 1, 2019
1 parent 6fdf078 commit 101a159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intro/language/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Easier to ask for forgiveness than for permission
....: try:
....: collection.sort()
....: except AttributeError:
....: pass
....: pass # The pass statement does nothing
....: print(collection)
....:
....:
Expand Down

0 comments on commit 101a159

Please sign in to comment.