]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in zipfile documentation. (GH-10151) (GH-10153)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 27 Oct 2018 20:06:46 +0000 (13:06 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 27 Oct 2018 20:06:46 +0000 (23:06 +0300)
(cherry picked from commit 40bf6cff22185b8ebaab14789e81cff22fbf2275)

Co-authored-by: nsrip <nick.ripley@me.com>
Doc/library/zipfile.rst

index c0f2a89a3a17fa631bf7d223ddc61f5d96e97e2e..7804e92e5374712123269cb705649600caf0c0c8 100644 (file)
@@ -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.