summaryrefslogtreecommitdiff
path: root/Doc/library/exceptions.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-04-11 12:23:04 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-04-11 12:23:04 +0300
commit8fafc74d45d2f6eba034ca0ff450adf12610ff18 (patch)
tree4d4acbb9a3f7c804a1e7e47421ca962f25f61ab2 /Doc/library/exceptions.rst
parent864b63c33f8f715121efeb9fce031f9c2534c27a (diff)
downloadcpython-git-8fafc74d45d2f6eba034ca0ff450adf12610ff18.tar.gz
Fix typos in mock and exceptions docs
The default value of __len__ is 0, not 1: >>> from unittest.mock import MagicMock >>> mock = MagicMock() >>> len(mock) 0 Reported by Alex on docs@p.o. Remove the remaining VMSError reference. VMS support is gone.
Diffstat (limited to 'Doc/library/exceptions.rst')
-rw-r--r--Doc/library/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index ba6122e29b..5a7193393c 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -288,7 +288,7 @@ The following exceptions are the exceptions that are usually raised.
.. versionchanged:: 3.3
:exc:`EnvironmentError`, :exc:`IOError`, :exc:`WindowsError`,
- :exc:`VMSError`, :exc:`socket.error`, :exc:`select.error` and
+ :exc:`socket.error`, :exc:`select.error` and
:exc:`mmap.error` have been merged into :exc:`OSError`, and the
constructor may return a subclass.