Skip to content

Commit 617cf18

Browse files
committed
gh-117829 : updated docs for options based on feedback
1 parent c67b6b1 commit 617cf18

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

Doc/library/zipapp.rst

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,17 @@ The following options are understood:
9999
Include only files and directories that match the given glob pattern(s).
100100
Patterns use standard globbing as implemented by :class:`pathlib.PurePath.match`.
101101

102-
.. note::
103-
104-
If this option is not specified, all files in the given directory are
105-
included by default (subject to any :option:`--exclude` patterns).
102+
If this option is not specified, all files in the given directory are included by
103+
default (subject to any :option:`--exclude` patterns).
106104

107105
.. option:: --exclude pattern
108106

109107
Exclude files and directories that match the given glob pattern(s).
110108
Patterns use standard globbing as implemented by :class:`pathlib.PurePath.match`.
111109

112-
.. note::
113-
114-
If both :option:`--include` and :option:`--exclude` are specified, the set of
115-
files to be included is picked first. Then any to be excluded are removed from
116-
that set. The order of the options does not affect how they are processed.
110+
If both :option:`--include` and :option:`--exclude` are specified, the set of
111+
files to be included is picked first. Then any to be excluded are removed from
112+
that set. The order of the options does not affect how they are processed.
117113

118114

119115
.. option:: -h, --help
@@ -297,8 +293,6 @@ Excluding a subtree or file type:
297293

298294
* Patterns follow :class:`pathlib.PurePath.match`. To match all of a
299295
directory contents, use ``dir/**``.
300-
* Path separator handling is platform-specific. On POSIX, backslashes are
301-
literals (``\`` does not act as a separator).
302296

303297

304298
.. _zipapp-specifying-the-interpreter:

0 commit comments

Comments
 (0)