Skip to content

Commit

Permalink
Merge pull request #162 from vshih/patch-1
Browse files Browse the repository at this point in the history
Grammar.
  • Loading branch information
yasoob committed May 29, 2018
2 parents 472358e + 9410a38 commit 63ffded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context_managers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ an error is encountered.
2. It allows the ``__exit__`` method to handle the exception.
3. If ``__exit__`` returns True then the exception was gracefully
handled.
4. If anything else than True is returned by the ``__exit__`` method then
4. If anything other than True is returned by the ``__exit__`` method then
an exception is raised by the ``with`` statement.

In our case the ``__exit__`` method returns ``None`` (when no return
Expand Down

0 comments on commit 63ffded

Please sign in to comment.