[Python-checkins] cpython (3.2): Use correct markup in zipimport.rst. Patch by Sara Magliacane.
ezio.melotti
python-checkins at python.org
Sat Jun 25 19:31:13 CEST 2011
http://hg.python.org/cpython/rev/4f936d99d9ab
changeset: 70983:4f936d99d9ab
branch: 3.2
parent: 70977:2bacaf6a80c4
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Jun 25 19:40:06 2011 +0300
summary:
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
files:
Doc/library/zipimport.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/library/zipimport.rst b/Doc/library/zipimport.rst
--- 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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list