Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 54cc5fd

Browse files
committed
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
1 parent 7079719 commit 54cc5fd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/zipimport.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
This module adds the ability to import Python modules (:file:`\*.py`,
1010
:file:`\*.py[co]`) and packages from ZIP-format archives. It is usually not
1111
needed to use the :mod:`zipimport` module explicitly; it is automatically used
12-
by the built-in :keyword:`import` mechanism for ``sys.path`` items that are paths
12+
by the built-in :keyword:`import` mechanism for :data:`sys.path` items that are paths
1313
to ZIP archives.
1414

15-
Typically, ``sys.path`` is a list of directory names as strings. This module
16-
also allows an item of ``sys.path`` to be a string naming a ZIP file archive.
15+
Typically, :data:`sys.path` is a list of directory names as strings. This module
16+
also allows an item of :data:`sys.path` to be a string naming a ZIP file archive.
1717
The ZIP archive can contain a subdirectory structure to support package imports,
1818
and a path within the archive can be specified to only import from a
1919
subdirectory. For example, the path :file:`/tmp/example.zip/lib/` would only

0 commit comments

Comments
 (0)