summaryrefslogtreecommitdiff
path: root/Doc/library/zipfile.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-03-12 22:41:06 -0500
committerBenjamin Peterson <benjamin@python.org>2015-03-12 22:41:06 -0500
commitf0f14f72bb8aba4955749c7993f72083c2680fbe (patch)
tree1027fcbd68f2c433708df0e78a0ea6c784014ce5 /Doc/library/zipfile.rst
parent32799953b0bf2cf069c90f8ecc57b1b1d41b7ce8 (diff)
downloadcpython-git-f0f14f72bb8aba4955749c7993f72083c2680fbe.tar.gz
use the meth role for ZipFile.open
Diffstat (limited to 'Doc/library/zipfile.rst')
-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 b416bf7e18..535552d622 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -210,7 +210,7 @@ ZipFile Objects
password used for encrypted files. Calling :meth:`.open` on a closed
ZipFile will raise a :exc:`RuntimeError`.
- :func:`~ZipFile.open` is also a context manager and therefore supports the
+ :meth:`~ZipFile.open` is also a context manager and therefore supports the
:keyword:`with` statement::
with ZipFile('spam.zip') as myzip: