Revert curly braces example for nested dictionaries

This commit is contained in:
Max Arnold 2018-10-23 23:25:08 +07:00
parent 622bb51464
commit 881a521586

View file

@ -77,11 +77,11 @@ deeply-nested dict can be declared with curly braces:
- group: root
- mode: 644
- template: jinja
- context:
custom_var: "override"
- defaults:
custom_var: "default value"
other_var: 123
- context: {
custom_var: "override" }
- defaults: {
custom_var: "default value",
other_var: 123 }
Here is a more concrete example of how YAML actually handles these
indentations, using the Python interpreter on the command line: