use the meth role for ZipFile.open
authorBenjamin Peterson <benjamin@python.org>
Fri, 13 Mar 2015 03:41:06 +0000 (22:41 -0500)
committerBenjamin Peterson <benjamin@python.org>
Fri, 13 Mar 2015 03:41:06 +0000 (22:41 -0500)
Doc/library/zipfile.rst

index b416bf7e1844c9ce97f1bcf78cac40b1f7ed9ccd..535552d622293f46cb81db216c19d81950aa3778 100644 (file)
@@ -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: