showstack: use raw docstring
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 04 Feb 2019 14:03:15 -0800
changeset 41548 6dae1f31c6c9
parent 41547 f16c03c7a3d7
child 41549 1ea1bba1c5be
showstack: use raw docstring Avoids a SyntaxWarning on Python 3.8 due to invalid \ escape. Differential Revision: https://phab.mercurial-scm.org/D5838
contrib/showstack.py
--- 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