bpo-40131: Fix source and target order in zipapp example (GH-19290) (GH-19340)
(cherry picked from commit bd6a4c3d72
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
This commit is contained in:
parent
0961dbdea2
commit
d19162fe5b
|
@ -198,7 +198,7 @@ Pack up a directory into an archive, and run it.
|
||||||
The same can be done using the :func:`create_archive` function::
|
The same can be done using the :func:`create_archive` function::
|
||||||
|
|
||||||
>>> import zipapp
|
>>> import zipapp
|
||||||
>>> zipapp.create_archive('myapp.pyz', 'myapp')
|
>>> zipapp.create_archive('myapp', 'myapp.pyz')
|
||||||
|
|
||||||
To make the application directly executable on POSIX, specify an interpreter
|
To make the application directly executable on POSIX, specify an interpreter
|
||||||
to use.
|
to use.
|
||||||
|
|
Loading…
Reference in New Issue