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

triple single quotes shouldn't be treated as docstring #415

Closed
GoogleCodeExporter opened this issue Aug 24, 2015 · 1 comment
Closed

triple single quotes shouldn't be treated as docstring #415

GoogleCodeExporter opened this issue Aug 24, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. write """doc"""
2. write '''doc'''
3. see syntax highlighting

What is the expected output? What do you see instead?

"""doc""" should be colored as doctring while '''doc''' should be colored as 
multiline string acording to pep257 (http://www.python.org/dev/peps/pep-0257/): 
 For consistency, always use """triple double quotes""" around docstrings. Use r"""raw triple double quotes""" if you use any backslashes in your docstrings. For Unicode docstrings, use u"""Unicode triple-quoted strings""".

What version of the product are you using? On what operating system?

2.2.0.0


Original issue reported on code.google.com by mynth...@gmail.com on 13 Sep 2010 at 10:48

@GoogleCodeExporter
Copy link
Author

Fixed in version control.

A new syntax element was added "Multi-Line String" to refer to single-quoted 
multi-line strings.

Original comment by pyscripter on 6 Dec 2010 at 11:32

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant