Skip to content

Commit 77e5b2a

Browse files
committed
Remove inline comments from docs examples
1 parent c87667b commit 77e5b2a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/mimetypes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,22 +381,22 @@ interface:
381381
$ python -m mimetypes --extension text/javascript
382382
.js
383383
384-
$ # get a file extension by a rare MIME type (error goes to stderr)
384+
$ # get a file extension by a rare MIME type
385385
$ python -m mimetypes --extension text/xul
386386
error: unknown type text/xul
387387
388388
$ # now look in the extended database again
389389
$ python -m mimetypes --extension --lenient text/xul
390390
.xul
391391
392-
$ # try to feed an unknown file extension (error goes to stderr)
392+
$ # try to feed an unknown file extension
393393
$ python -m mimetypes filename.sh filename.nc filename.zzz filename.txt
394394
type: application/x-sh encoding: None
395395
type: application/x-netcdf encoding: None
396396
error: media type unknown for filename.zzz
397397
type: text/plain encoding: None
398398
399-
$ # try to feed an unknown MIME type (error goes to stderr)
399+
$ # try to feed an unknown MIME type
400400
$ python -m mimetypes --extension audio/aac audio/opus audio/future audio/x-wav
401401
.aac
402402
.opus

0 commit comments

Comments
 (0)