This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vbem
Recipients vbem
Date 2012-02-28.08:47:29
SpamBayes Score 6.493198e-09
Marked as misclassified No
Message-id <1330418850.42.0.159103996414.issue14147@psf.upfronthosting.co.za>
In-reply-to
Content
$ python
Python 2.7.1 (r271:86832, Apr 16 2011, 23:27:12) 
[GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print r'\'
  File "<stdin>", line 1
    print r'\'
             ^
SyntaxError: EOL while scanning string literal
>>> 

I just want to print a raw string r'\', however, SyntaxError.
What is the reason?
History
Date User Action Args
2012-02-28 08:47:30vbemsetrecipients: + vbem
2012-02-28 08:47:30vbemsetmessageid: <1330418850.42.0.159103996414.issue14147@psf.upfronthosting.co.za>
2012-02-28 08:47:29vbemlinkissue14147 messages
2012-02-28 08:47:29vbemcreate