mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue