Skip to content

Commit 548857f

Browse files
Update Doc/library/zipimport.rst
Co-authored-by: Peter Bierma <[email protected]>
1 parent dc21001 commit 548857f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/zipimport.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ Here is an example that imports a module from a ZIP archive - note that the
199199
.. code-block:: pycon
200200
201201
>>> import sys
202-
>>> sys.path.insert(0, 'example_archive.zip') # Add .zip file to front of path
202+
>>> # Add the archive to the front of the module search path
203+
>>> sys.path.insert(0, 'example_archive.zip')
203204
>>> import example
204205
>>> example.__file__
205206
'example_archive.zip/example.py'

0 commit comments

Comments
 (0)