From 40bf6cff22185b8ebaab14789e81cff22fbf2275 Mon Sep 17 00:00:00 2001 From: nsrip Date: Sat, 27 Oct 2018 10:42:56 -0400 Subject: Fix typo in zipfile documentation. (GH-10151) --- 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 e5872f3..8d8612a 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. -- cgit v0.12