Commit f0f14f72 authored by Benjamin Peterson's avatar Benjamin Peterson

use the meth role for ZipFile.open

parent 32799953
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment