summaryrefslogtreecommitdiff
path: root/python/examples/version_switcher.py
diff options
context:
space:
mode:
authorKevin Orr <kevinorr54@gmail.com>2021-04-06 14:38:22 -0400
committerJordan <github@psifertex.com>2021-04-06 14:55:05 -0400
commit07d24ce9db65eff8a17c05034cbac165be2c037c (patch)
tree9644e95d9e9b28b99d87926bec46a3de0cc68e3c /python/examples/version_switcher.py
parentccc46ee23e8160231b1de739380bd7d808ec433d (diff)
Fix docstring confusing some syntax highlighters
This is technically correct (and for illustration): ```py >>> "asdf""" 'asdf' >>> "asdf""qwer" 'asdfqwer' >>> def foo(): ... "asdf""" ... return 4 ... >>> foo() 4 >>> foo.__doc__ 'asdf' ``` But as it currently exists, it messes up some (admittedly, incorrect) lexers/syntax highlighters (e.g. emacs's python-mode).
Diffstat (limited to 'python/examples/version_switcher.py')
0 files changed, 0 insertions, 0 deletions