diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-06-25 16:40:06 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-06-25 16:40:06 (GMT) |
commit | 196273e1d0fb36f554c7ce87ade2e96ae65f3e40 (patch) | |
tree | 24008795fff40cb0375dc248dd50a95baad83411 | |
parent | 19d09d5d93154f8861c2d81cc5cd759c9b34ea53 (diff) | |
download | cpython-196273e1d0fb36f554c7ce87ade2e96ae65f3e40.zip cpython-196273e1d0fb36f554c7ce87ade2e96ae65f3e40.tar.gz cpython-196273e1d0fb36f554c7ce87ade2e96ae65f3e40.tar.bz2 |
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
-rw-r--r-- | Doc/library/zipimport.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/zipimport.rst b/Doc/library/zipimport.rst index 43e12b1..af18d15 100644 --- a/Doc/library/zipimport.rst +++ b/Doc/library/zipimport.rst @@ -12,11 +12,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 |