Skip to content

Commit f38577a

Browse files
committed
Remove the examples from the documentation for the CLI of the module
gzip.
1 parent 8b05c89 commit f38577a

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

Doc/library/gzip.rst

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -230,37 +230,20 @@ Command line options
230230

231231
.. cmdoption:: file
232232

233-
.. code-block:: shell-session
234-
235-
$ python -m gzip file
236-
237233
If *file* is not specified, read from :attr:`sys.stdin`.
238234

239235
.. cmdoption:: --fast
240236

241237
Indicates the fastest compression method (less compression).
242238

243-
.. code-block:: shell-session
244-
245-
$ python -m gzip --fast file
246-
247239
.. cmdoption:: --best
248240

249241
Indicates the slowest compression method (best compression).
250-
This is the default method if you do not specify any flag.
251-
252-
.. code-block:: shell-session
253-
254-
$ python -m gzip --best file
255242

256243
.. cmdoption:: -d, --decompress
257244

258245
Decompress the given file.
259246

260-
.. code-block:: shell-session
261-
262-
$ python -m gzip -d file.gz
263-
264247
.. cmdoption:: -h, --help
265248

266249
Show the help message.

0 commit comments

Comments
 (0)