Description of your problem
Please provide a minimal, self-contained, and reproducible example.
import configupdater
updater = configupdater.ConfigUpdater(allow_no_value=True)
updater.read("pacman.conf")
updater['options']['Color'] = 'yes'
with open('pacman.conf2', 'w') as f:
updater.write(f)
Expected:
Result:
Versions and main components
- ConfigUpdater Version: 3.2
- Python Version: 3.13.3
- Operating system: arch
- How did you install ConfigUpdater: (pip)
Description of your problem
Please provide a minimal, self-contained, and reproducible example.
[options] ColorExpected:
Result:
[options] Color None yesVersions and main components