Doubling the ' token
Posted: Tue Dec 18, 2012 12:40 am
Why the behavior is used for a ' token in raw strings like Python, but not in C#?
Python:
ะก#(double a ' token intro a string by doubling the ' token):
I tried the sharp'@""' notation but it's breakin
Python:
- Code: Select all
r'\'text' # out: '\'text'
ะก#(double a ' token intro a string by doubling the ' token):
- Code: Select all
@'''text' // out: ''text'
I tried the sharp'@""' notation but it's breakin