summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornsrip <nick.ripley@me.com>2018-10-27 14:42:56 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-10-27 14:42:56 (GMT)
commit40bf6cff22185b8ebaab14789e81cff22fbf2275 (patch)
tree97ec08ab3aa2ff8898427c78ef004970294759e1
parentfec35c99aa749bb90cb29349bed6b3393907c4c1 (diff)
downloadcpython-40bf6cff22185b8ebaab14789e81cff22fbf2275.zip
cpython-40bf6cff22185b8ebaab14789e81cff22fbf2275.tar.gz
cpython-40bf6cff22185b8ebaab14789e81cff22fbf2275.tar.bz2
Fix typo in zipfile documentation. (GH-10151)
-rw-r--r--Doc/library/zipfile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
index e5872f3..8d8612a 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -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.