From: nsrip Date: Sat, 27 Oct 2018 14:42:56 +0000 (-0400) Subject: Fix typo in zipfile documentation. (GH-10151) X-Git-Tag: v3.8.0a1~654 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40bf6cff22185b8ebaab14789e81cff22fbf2275;p=thirdparty%2FPython%2Fcpython.git Fix typo in zipfile documentation. (GH-10151) --- 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.