Mercurial > hg
changeset 35656:c9eb92fb87b7
showstack: add an extension docstring
Now, running `hg help showstack` will give details on how to use the extension.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sun, 10 Dec 2017 21:42:33 +0100 |
parents | 2f54a3e228ff |
children | 8580e5898cb7 |
files | contrib/showstack.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/showstack.py Mon Jan 15 10:44:49 2018 +0000 +++ b/contrib/showstack.py Sun Dec 10 21:42:33 2017 +0100 @@ -1,6 +1,8 @@ # showstack.py - extension to dump a Python stack trace on signal # # binds to both SIGQUIT (Ctrl-\) and SIGINFO (Ctrl-T on BSDs) +"""dump stack trace when receiving SIGQUIT (Ctrl-\) and SIGINFO (Ctrl-T on BSDs) +""" from __future__ import absolute_import import signal