I asked this question here, http://stackoverflow.com/questions/16435233/this-python-string-literals-documentation-couldnt-explain-me-single-quote-pres, . I was advised to ask here On Wed, May 8, 2013 at 4:56 PM, Alok Nayak <aloknayak29 at gmail.com> wrote: > > This python string literals documentation<http://docs.python.org/2/reference/lexical_analysis.html#string-literals>couldn't explain: single quote presence inside double quoted string and > viceversa. > > I think both double quoted string and single quoted string need to be > defined differently for representing the 'stringliteral' lexical definition. > > shortstringchar ::= <any source character except "\" or newline or the quote> > > here in this definition 'the quote' isn't specific whether single (') or > double ("). > > > -- > Alok Nayak > Gwalior, India > -- Alok Nayak Gwalior, India -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130508/8f47e0cf/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4