[Python-checkins] Fix typo in zipfile documentation. (GH-10151) (GH-10154)
Serhiy Storchaka
webhook-mailer at python.org
Sat Oct 27 16:07:10 EDT 2018
https://github.com/python/cpython/commit/9dfbcf83c66ddcb2c8f2451cb3e65c5036bdec84
commit: 9dfbcf83c66ddcb2c8f2451cb3e65c5036bdec84
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-10-27T23:07:07+03:00
summary:
Fix typo in zipfile documentation. (GH-10151) (GH-10154)
(cherry picked from commit 40bf6cff22185b8ebaab14789e81cff22fbf2275)
Co-authored-by: nsrip <nick.ripley at me.com>
files:
M Doc/library/zipfile.rst
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
index a5d42118ba51..b7563f662ddb 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -347,7 +347,7 @@ ZipFile Objects
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.
More information about the Python-checkins
mailing list