summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-06-25 16:40:06 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-06-25 16:40:06 (GMT)
commit2d826e8f4bca58b1406088e416305cf92d5b4d00 (patch)
tree4dd98cb9fbe6886bbc297c80523c74ce2e1a7648 /Doc
parent33409d7bf33fa47232f2602c5c5b45e25936e609 (diff)
downloadcpython-2d826e8f4bca58b1406088e416305cf92d5b4d00.zip
cpython-2d826e8f4bca58b1406088e416305cf92d5b4d00.tar.gz
cpython-2d826e8f4bca58b1406088e416305cf92d5b4d00.tar.bz2
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/zipimport.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/zipimport.rst b/Doc/library/zipimport.rst
index 2f0fa38..4f17092 100644
--- a/Doc/library/zipimport.rst
+++ b/Doc/library/zipimport.rst
@@ -9,11 +9,11 @@
This module adds the ability to import Python modules (:file:`\*.py`,
:file:`\*.py[co]`) and packages from ZIP-format archives. It is usually not
needed to use the :mod:`zipimport` module explicitly; it is automatically used
-by the built-in :keyword:`import` mechanism for ``sys.path`` items that are paths
+by the built-in :keyword:`import` mechanism for :data:`sys.path` items that are paths
to ZIP archives.
-Typically, ``sys.path`` is a list of directory names as strings. This module
-also allows an item of ``sys.path`` to be a string naming a ZIP file archive.
+Typically, :data:`sys.path` is a list of directory names as strings. This module
+also allows an item of :data:`sys.path` to be a string naming a ZIP file archive.
The ZIP archive can contain a subdirectory structure to support package imports,
and a path within the archive can be specified to only import from a
subdirectory. For example, the path :file:`/tmp/example.zip/lib/` would only