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 zach.ware
Recipients jftuga, zach.ware
Date 2017-01-16.17:33:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484588037.36.0.674865405819.issue29285@psf.upfronthosting.co.za>
In-reply-to
Content
Triple-quoted strings are strings, not multi-line comments, though people do abuse them for that purpose sometimes.  Changing this behavior would be a huge change for next to no benefit, so I'm closing the issue.

If you insist on using a triple-quoted string as a comment (which I repeat, it is not; comments are ignored by the compiler, while triple-quoted strings are treated just as any other string literal by the compiler), you can work around this by using a 'raw' string literal:

r"""
dir \\dept.example.com\user
"""
History
Date User Action Args
2017-01-16 17:33:57zach.waresetrecipients: + zach.ware, jftuga
2017-01-16 17:33:57zach.waresetmessageid: <1484588037.36.0.674865405819.issue29285@psf.upfronthosting.co.za>
2017-01-16 17:33:57zach.warelinkissue29285 messages
2017-01-16 17:33:57zach.warecreate