Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Multiline array becomes invalid after a value is appended #12

Closed
frostming opened this issue Jun 1, 2021 · 1 comment
Closed

Multiline array becomes invalid after a value is appended #12

frostming opened this issue Jun 1, 2021 · 1 comment

Comments

@frostming
Copy link
Owner

import atoml
doc = atoml.parse("""
a = [
    "abc",
]
""")
doc['a'].append('def')
print(doc.as_string())
a = [
    "abc",
, "def"]
@frostming
Copy link
Owner Author

Original issue: pdm-project/pdm#487

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant