Fix typo in zipfile documentation. (GH-10151) (GH-10153)

(cherry picked from commit 40bf6cff22)

Co-authored-by: nsrip <nick.ripley@me.com>
This commit is contained in:
Miss Islington (bot) 2018-10-27 13:06:46 -07:00 committed by Serhiy Storchaka
parent 6f82bdc6e0
commit c73cd4e05a
1 changed files with 1 additions and 1 deletions

View File

@ -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.