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:
parent
6f82bdc6e0
commit
c73cd4e05a
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue