Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiline comments for python #117

Closed
wants to merge 1 commit into from
Closed

Fix multiline comments for python #117

wants to merge 1 commit into from

Conversation

kuba--
Copy link

@kuba-- kuba-- commented May 30, 2019

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--
Copy link
Author

kuba-- commented Jul 17, 2024

@cgag - shall I close this PR?

@kuba-- kuba-- closed this Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Count for python is wildly inaccurate
1 participant