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

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

index a5d42118ba517686450ef6ede9ad8fd146d2711b..b7563f662ddb92c8fabb8a5ea1ca304c8fea4188 100644 (file)
@@ -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.