[Python-checkins] cpython (merge 3.3 -> default): Merge: fix typo in mock docs.

andrew.svetlov python-checkins at python.org
Wed Oct 31 10:30:29 CET 2012


http://hg.python.org/cpython/rev/2e9e2bc904d8
changeset:   80081:2e9e2bc904d8
parent:      80079:2200aab16b56
parent:      80080:78f584e055eb
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Wed Oct 31 11:30:18 2012 +0200
summary:
  Merge: fix typo in mock docs.

files:
  Doc/library/unittest.mock.rst |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -1,3 +1,4 @@
+
 :mod:`unittest.mock` --- mock object library
 ============================================
 
@@ -646,7 +647,7 @@
     which have no meaning on a non-callable mock.
 
 Mock objects that use a class or an instance as a `spec` or `spec_set` are able
-to pass `isintance` tests:
+to pass `isinstance` tests:
 
     >>> mock = Mock(spec=SomeClass)
     >>> isinstance(mock, SomeClass)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list