[Python-checkins] Fix typo in zipfile documentation. (GH-10151) (GH-10153)

Serhiy Storchaka webhook-mailer at python.org
Sat Oct 27 16:06:49 EDT 2018


https://github.com/python/cpython/commit/c73cd4e05a0f67ac086209bd289bf6d9c8132460
commit: c73cd4e05a0f67ac086209bd289bf6d9c8132460
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-10-27T23:06:46+03:00
summary:

Fix typo in zipfile documentation. (GH-10151) (GH-10153)

(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 c0f2a89a3a17..7804e92e5374 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -363,7 +363,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