summaryrefslogtreecommitdiffstats
path: root/Doc/library/zipapp.rst
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-04-03 16:36:29 (GMT)
committerGitHub <noreply@github.com>2020-04-03 16:36:29 (GMT)
commitbd6a4c3d72828d3d0e13922e165998539d24f8bc (patch)
treee6ac6d8e64a0b1f300076ef90eadc87eb826c11a /Doc/library/zipapp.rst
parent76db37b1d37a9daadd9e5b320f2d5a53cd1352ec (diff)
downloadcpython-bd6a4c3d72828d3d0e13922e165998539d24f8bc.zip
cpython-bd6a4c3d72828d3d0e13922e165998539d24f8bc.tar.gz
cpython-bd6a4c3d72828d3d0e13922e165998539d24f8bc.tar.bz2
bpo-40131: Fix source and target order in zipapp example (GH-19290)
Diffstat (limited to 'Doc/library/zipapp.rst')
-rw-r--r--Doc/library/zipapp.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/zipapp.rst b/Doc/library/zipapp.rst
index 7283152..fb40a2b 100644
--- a/Doc/library/zipapp.rst
+++ b/Doc/library/zipapp.rst
@@ -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.