diff contrib/showstack.py @ 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 f2fe7b199bb4
children acf5dbe39478
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