[Python-checkins] cpython (3.4): use the meth role for ZipFile.open
benjamin.peterson
python-checkins at python.org
Fri Mar 13 04:41:20 CET 2015
https://hg.python.org/cpython/rev/16e676fd77c0
changeset: 94969:16e676fd77c0
branch: 3.4
parent: 94967:e31e987207ab
user: Benjamin Peterson <benjamin at python.org>
date: Thu Mar 12 22:41:06 2015 -0500
summary:
use the meth role for ZipFile.open
files:
Doc/library/zipfile.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -210,7 +210,7 @@
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:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list