Commits

lac committed 88df099

typos

Comments (0)

Files changed (1)

 tested such as network access.  The ``monkeypatch`` function argument
 helps you to safely set/delete an attribute, dictionary item or
 environment variable or to modify ``sys.path`` for importing.
-See the `monkeypatch blog post`_ one some introduction material
-and motivation.
+See the `monkeypatch blog post`_ for some introductory material
+and a discussion of its motivation.
 
 .. _`monkeypatch blog post`: http://tetamap.wordpress.com/2009/03/03/monkeypatching-in-unit-tests-done-right/
 
 Simple example: patching ``os.path.expanduser``
 ---------------------------------------------------
 
-If you e.g. want to pretend that ``os.expanduser`` returns a certain
+If, for instance, you want to pretend that ``os.expanduser`` returns a certain
 directory, you can use the :py:meth:`monkeypatch.setattr` method to
-patch this function before calling into a function which uses it::
+patch this function before calling a function which uses it::
 
     import os.path
     def getssh(): # pseudo application code