Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2d826e8f
Commit
2d826e8f
authored
Jun 25, 2011
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
parent
33409d7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/zipimport.rst
Doc/library/zipimport.rst
+3
-3
No files found.
Doc/library/zipimport.rst
View file @
2d826e8f
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
This module adds the ability to import Python modules (:file:`\*.py`,
This module adds the ability to import Python modules (:file:`\*.py`,
:file:`\*.py[co]`) and packages from ZIP-format archives. It is usually not
: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
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.
to ZIP archives.
Typically,
``sys.path`
` is a list of directory names as strings. This module
Typically,
:data:`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.
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,
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
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
subdirectory. For example, the path :file:`/tmp/example.zip/lib/` would only
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment