Skip to content

Commit bd6a4c3

Browse files
authored
bpo-40131: Fix source and target order in zipapp example (GH-19290)
1 parent 76db37b commit bd6a4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/zipapp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Pack up a directory into an archive, and run it.
198198
The same can be done using the :func:`create_archive` function::
199199

200200
>>> import zipapp
201-
>>> zipapp.create_archive('myapp.pyz', 'myapp')
201+
>>> zipapp.create_archive('myapp', 'myapp.pyz')
202202

203203
To make the application directly executable on POSIX, specify an interpreter
204204
to use.

0 commit comments

Comments
 (0)