From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 3 Apr 2020 17:13:58 +0000 (-0700) Subject: bpo-40131: Fix source and target order in zipapp example (GH-19290) (GH-19339) X-Git-Tag: v3.8.3rc1~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6783981df6ae5c63f73be67cc41b1350bc0fcc6;p=thirdparty%2FPython%2Fcpython.git bpo-40131: Fix source and target order in zipapp example (GH-19290) (GH-19339) (cherry picked from commit bd6a4c3d72828d3d0e13922e165998539d24f8bc) Co-authored-by: Zackery Spytz --- 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.