From c73cd4e05a0f67ac086209bd289bf6d9c8132460 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 27 Oct 2018 13:06:46 -0700 Subject: [PATCH] Fix typo in zipfile documentation. (GH-10151) (GH-10153) (cherry picked from commit 40bf6cff22185b8ebaab14789e81cff22fbf2275) Co-authored-by: nsrip --- Doc/library/zipfile.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index c0f2a89a3a17..7804e92e5374 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -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. -- 2.47.3