loc icon indicating copy to clipboard operation
loc copied to clipboard

Fix multiline comments for python

Open kuba-- opened this issue 6 years ago • 1 comments

This PR fixes multiline comments for python (and for languages where begin and end strings are the same). It does not fix #111 because python uses the same characters as comments for multiline strings (""", '''), but at least it fixes following cases:

'''
This is a module docstring
'''
a = 1
b = 2
c = 3
"""
This is a module docstring
"""

kuba-- avatar May 30 '19 13:05 kuba--

@cgag - shall I close this PR?

kuba-- avatar Jul 17 '24 11:07 kuba--