diff contrib/showstack.py @ 41562:6dae1f31c6c9

showstack: use raw docstring Avoids a SyntaxWarning on Python 3.8 due to invalid \ escape. Differential Revision: https://phab.mercurial-scm.org/D5838
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 04 Feb 2019 14:03:15 -0800
parents acf5dbe39478
children 2372284d9457
line wrap: on
line diff
--- a/contrib/showstack.py	Mon Feb 04 14:00:57 2019 -0800
+++ b/contrib/showstack.py	Mon Feb 04 14:03:15 2019 -0800
@@ -1,7 +1,7 @@
 # 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)
+r"""dump stack trace when receiving SIGQUIT (Ctrl-\) or SIGINFO (Ctrl-T on BSDs)
 """
 
 from __future__ import absolute_import, print_function