commit | 40bf6cff22185b8ebaab14789e81cff22fbf2275 | [log] [tgz] |
---|---|---|
author | nsrip <nick.ripley@me.com> | Sat Oct 27 10:42:56 2018 -0400 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sat Oct 27 17:42:56 2018 +0300 |
tree | 97ec08ab3aa2ff8898427c78ef004970294759e1 | |
parent | fec35c99aa749bb90cb29349bed6b3393907c4c1 [diff] |
Fix typo in zipfile documentation. (GH-10151)
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index e5872f3..8d8612a 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst
@@ -372,7 +372,7 @@ Return the name of the first bad file, or else return ``None``. .. versionchanged:: 3.6 - Calling :meth:`testfile` on a closed ZipFile will raise a + Calling :meth:`testzip` on a closed ZipFile will raise a :exc:`ValueError`. Previously, a :exc:`RuntimeError` was raised.