projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3279995
)
use the meth role for ZipFile.open
author
Benjamin Peterson
<benjamin@python.org>
Fri, 13 Mar 2015 03:41:06 +0000
(22:41 -0500)
committer
Benjamin Peterson
<benjamin@python.org>
Fri, 13 Mar 2015 03:41:06 +0000
(22:41 -0500)
Doc/library/zipfile.rst
patch
|
blob
|
history
diff --git
a/Doc/library/zipfile.rst
b/Doc/library/zipfile.rst
index b416bf7e1844c9ce97f1bcf78cac40b1f7ed9ccd..535552d622293f46cb81db216c19d81950aa3778 100644
(file)
--- 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: