Skip to content

Commit 40bf6cf

Browse files
nsripserhiy-storchaka
authored andcommitted
Fix typo in zipfile documentation. (GH-10151)
1 parent fec35c9 commit 40bf6cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/zipfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ ZipFile Objects
372372
Return the name of the first bad file, or else return ``None``.
373373

374374
.. versionchanged:: 3.6
375-
Calling :meth:`testfile` on a closed ZipFile will raise a
375+
Calling :meth:`testzip` on a closed ZipFile will raise a
376376
:exc:`ValueError`. Previously, a :exc:`RuntimeError` was raised.
377377

378378

0 commit comments

Comments
 (0)