changeset 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 f16c03c7a3d7
children 1ea1bba1c5be
files contrib/showstack.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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