mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Fix typo in zipfile documentation. (GH-10151)
This commit is contained in:
parent
fec35c99aa
commit
40bf6cff22
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue