mirror of https://github.com/python/cpython
bpo-40131: Fix source and target order in zipapp example (GH-19290)
This commit is contained in:
parent
76db37b1d3
commit
bd6a4c3d72
|
@ -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::
|
||||
|
||||
>>> 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 use.
|
||||
|
|
Loading…
Reference in New Issue