# HG changeset patch # User Gregory Szorc # Date 1549317795 28800 # Node ID 6dae1f31c6c94f26fc906566b5107080af60b91e # Parent f16c03c7a3d7e9364a2a2ebe19fb6f7337c4a588 showstack: use raw docstring Avoids a SyntaxWarning on Python 3.8 due to invalid \ escape. Differential Revision: https://phab.mercurial-scm.org/D5838 diff -r f16c03c7a3d7 -r 6dae1f31c6c9 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