Fix typo in zipfile documentation. (GH-10151)

This commit is contained in:
nsrip 2018-10-27 10:42:56 -04:00 committed by Serhiy Storchaka
parent fec35c99aa
commit 40bf6cff22

View file

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