summaryrefslogtreecommitdiffstats
path: root/Doc/library/zipfile.rst
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-17 00:24:54 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-17 00:24:54 (GMT)
commitda27fd267346e213512f4835dd0b7b40e6172bbe (patch)
tree8f9f7dbafb09976c7dbe412992e9270f62455246 /Doc/library/zipfile.rst
parentaf554a0e17ceb0e6a3cc0c07e9cf6db2f80c1ad9 (diff)
downloadcpython-da27fd267346e213512f4835dd0b7b40e6172bbe.zip
cpython-da27fd267346e213512f4835dd0b7b40e6172bbe.tar.gz
cpython-da27fd267346e213512f4835dd0b7b40e6172bbe.tar.bz2
Manually patched a few things that didn't get merged in, but should.
Diffstat (limited to 'Doc/library/zipfile.rst')
-rw-r--r--Doc/library/zipfile.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
index 5e51bfc..ccc3114 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -168,11 +168,11 @@ ZipFile Objects
.. note::
If the ZipFile was created by passing in a file-like object as the first
- argument to the constructor, then the object returned by :meth:`open` shares the
+ argument to the constructor, then the object returned by :meth:`.open` shares the
ZipFile's file pointer. Under these circumstances, the object returned by
- :meth:`open` should not be used after any additional operations are performed
+ :meth:`.open` should not be used after any additional operations are performed
on the ZipFile object. If the ZipFile was created by passing in a string (the
- filename) as the first argument to the constructor, then :meth:`open` will
+ filename) as the first argument to the constructor, then :meth:`.open` will
create a new file object that will be held by the ZipExtFile, allowing it to
operate independently of the ZipFile.