>>> '"Isn\'t," she said.'Does it mean there is no way to have both single and double quotes in a Python literal???
'"Isn\'t," she said.'
Update: it seems to be an interpreter bug:
result = '"Isn\'t," she said.'would produce the expected
print result
"Isn't," she said.after all :)
No comments:
Post a Comment