summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:29:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:29:26 (GMT)
commitecf41da83e5db98734b19f205899168cc56da943 (patch)
treee22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/unittest.mock.rst
parent9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff)
downloadcpython-ecf41da83e5db98734b19f205899168cc56da943.zip
cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.gz
cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.bz2
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r--Doc/library/unittest.mock.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index c13f095..ef30c01 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -244,7 +244,7 @@ the *new_callable* argument to :func:`patch`.
.. versionadded:: 3.5
- * *wraps*: Item for the mock object to wrap. If *wraps* is not None then
+ * *wraps*: Item for the mock object to wrap. If *wraps* is not ``None`` then
calling the Mock will pass the call through to the wrapped object
(returning the real result). Attribute access on the mock will return a
Mock object that wraps the corresponding attribute of the wrapped