Skip to content

Commit 38d41ad

Browse files
authored
gh-133829 Under request, break up example into 2 code blocks
1 parent 842443e commit 38d41ad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Doc/library/zipimport.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,12 @@ Here is an example that imports a module from a ZIP archive - note that the
195195
32145 05-10-25 10:00 pip/__main__.py
196196
-------- -------
197197
32145 1 file
198+
199+
Now for the Python:
200+
201+
.. code-block:: python
202+
198203
$ ./python
199-
Python 3.x
200204
>>> import sys
201205
>>> sys.path.insert(0, 'pip.pyz') # Add .pyz file to front of path
202206
>>> import pip

0 commit comments

Comments
 (0)