diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-10-18 03:15:40 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-10-19 02:59:47 -0300 |
commit | adff09c6dbec927374f9eabe999a43f17e730f8b (patch) | |
tree | 5a695315ca5daf98c1e05114e351c7227c194dd3 /etc-fixes | |
parent | sort.py: rename protocols to original_protocols (diff) | |
download | firejail-adff09c6dbec927374f9eabe999a43f17e730f8b.tar.gz firejail-adff09c6dbec927374f9eabe999a43f17e730f8b.tar.zst firejail-adff09c6dbec927374f9eabe999a43f17e730f8b.zip |
sort.py: line-wrap and improve comments
Changes:
* Line-wrap comments at 79 characters
* Make comments clearer
* Make main docstring more similar to a command "usage" output
See the result with the following command, which generates a
man-page-like output and opens it in the man pager (such as in `less`):
$ pydoc ./contrib/sort.py
See also PEP-257, "Docstring Conventions"[1].
[1] https://peps.python.org/pep-0257/
Diffstat (limited to 'etc-fixes')
0 files changed, 0 insertions, 0 deletions