From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 27 Oct 2018 20:07:07 +0000 (-0700) Subject: Fix typo in zipfile documentation. (GH-10151) (GH-10154) X-Git-Tag: v3.6.8rc1~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9dfbcf83c66ddcb2c8f2451cb3e65c5036bdec84;p=thirdparty%2FPython%2Fcpython.git Fix typo in zipfile documentation. (GH-10151) (GH-10154) (cherry picked from commit 40bf6cff22185b8ebaab14789e81cff22fbf2275) Co-authored-by: nsrip --- diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index a5d42118ba51..b7563f662ddb 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -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.