You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multi-line basic strings are surrounded by three quotation marks on each side and allow newlines. A newline immediately following the opening delimiter will be trimmed. All other whitespace and newline characters remain intact.
Test toml:
str1 = """
Roses are red
Violets are blue"""
Result:
>>> toml.load('test.toml')['str1']
'Roses are red\nViolets are blue'
Expected result:
>>> toml.load('test.toml')['str1']
'Roses are red\n\nViolets are blue'
The text was updated successfully, but these errors were encountered:
From spec:
Test toml:
Result:
Expected result:
The text was updated successfully, but these errors were encountered: