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

Serhiy Storchaka webhook-mailer at python.org
Sat Oct 27 10:43:01 EDT 2018


https://github.com/python/cpython/commit/40bf6cff22185b8ebaab14789e81cff22fbf2275
commit: 40bf6cff22185b8ebaab14789e81cff22fbf2275
branch: master
author: nsrip <nick.ripley at me.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-10-27T17:42:56+03:00
summary:

Fix typo in zipfile documentation. (GH-10151)

files:
M Doc/library/zipfile.rst

diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
index e5872f31b6db..8d8612afa39b 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -372,7 +372,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