]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in zipfile documentation. (GH-10151)
authornsrip <nick.ripley@me.com>
Sat, 27 Oct 2018 14:42:56 +0000 (10:42 -0400)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 27 Oct 2018 14:42:56 +0000 (17:42 +0300)
Doc/library/zipfile.rst

index e5872f31b6db241cf3181357fad118d8ee79230d..8d8612afa39b077538489786ce910364ef54371a 100644 (file)
@@ -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.