# HG changeset patch # User Boris Feld # Date 2017-12-10 20:42:33 # Node ID c9eb92fb87b7f6b86904dffd0691300ab52f6f46 # Parent 2f54a3e228ffcf9e92f9b7a45b1dfafefa94711f showstack: add an extension docstring Now, running `hg help showstack` will give details on how to use the extension. diff --git a/contrib/showstack.py b/contrib/showstack.py --- a/contrib/showstack.py +++ b/contrib/showstack.py @@ -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