From: Zackery Spytz Date: Fri, 3 Apr 2020 16:36:29 +0000 (-0600) Subject: bpo-40131: Fix source and target order in zipapp example (GH-19290) X-Git-Tag: v3.9.0a6~200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd6a4c3d72828d3d0e13922e165998539d24f8bc;p=thirdparty%2FPython%2Fcpython.git bpo-40131: Fix source and target order in zipapp example (GH-19290) --- diff --git a/Doc/library/zipapp.rst b/Doc/library/zipapp.rst index 728315251e08..fb40a2b3e964 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.