]> granicus.if.org Git - python/commitdiff
Add a missing parenthesis.
authorBrett Cannon <brett@python.org>
Sat, 25 May 2013 15:28:20 +0000 (11:28 -0400)
committerBrett Cannon <brett@python.org>
Sat, 25 May 2013 15:28:20 +0000 (11:28 -0400)
Doc/library/unittest.mock.rst

index 6d1a57e21a335930ee96d008ceeff3e0063f008b..0da6f49084beddba212f022fd8212da82aea957b 100644 (file)
@@ -468,7 +468,7 @@ the `new_callable` argument to `patch`.
         mock and unless the function returns the :data:`DEFAULT` singleton the
         call to the mock will then return whatever the function returns. If the
         function returns :data:`DEFAULT` then the mock will return its normal
-        value (from the :attr:`return_value`.
+        value (from the :attr:`return_value`).
 
         An example of a mock that raises an exception (to test exception
         handling of an API):