diff options
| author | Kevin Orr <kevinorr54@gmail.com> | 2021-04-06 14:38:22 -0400 |
|---|---|---|
| committer | Jordan <github@psifertex.com> | 2021-04-06 14:55:05 -0400 |
| commit | 07d24ce9db65eff8a17c05034cbac165be2c037c (patch) | |
| tree | 9644e95d9e9b28b99d87926bec46a3de0cc68e3c /python/examples | |
| parent | ccc46ee23e8160231b1de739380bd7d808ec433d (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')
0 files changed, 0 insertions, 0 deletions
