My favorites | Sign in
Google
                
New issue | Search
for
| Advanced search | Search tips
Issue 29: Handle quotes within python docstring
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by jrobbins, Feb 02, 2008
What steps will reproduce the problem?
1. write python code with """docstrings"""
2. embed a "quoted string" within the docstring.


(Please include HTML, not just your source code)


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

Right now, the inner string is treated as not being part of a string. So,
if it contains numbers or English words that happen to be keywords, they
will be highlighted too much.  It would be great if these were just
considered part of the overall string. Or, if there was a
string-within-a-string class, but that might be getting to complicated.

This issue was raised by another user:
http://code.google.com/p/support/issues/detail?id=698
Comment 1 by mikesamuel, Apr 22, 2008
grammr at http://docs.python.org/ref/grammar.txt
Status: Accepted
Comment 2 by mikesamuel, Jul 04, 2008
@r38
Status: Fixed
Sign in to add a comment