ConfigurationTree
ConfigurationTree copied to clipboard
Documentation errors
Chapter 4.1: s.in_memory() should be s.open_in_memory()
A bit bellow, you write n.dump() but 'n' is not defined yet, it should be s.root.dump()
Chapter 5.1: An init is missing, we don't understand that the context has changed. I propose the sentence:
”Launch ConfigurationTrre using python3.5 -i tree.py ”
Then add n =Configuration('/tmp/tree') and then the line n.server.listen = '127.0.0.1' will work fine.
In adition we can add a show of the initial state
>>> n
ø