I think there is a typo in the help text of yaml.dumpFile:
>> help yaml.dumpFile
dumpFile Write data to YAML file.
yaml.dumpFile(FILE, DATA) converts DATA to YAML and saves it in a new
file FILE.
yaml.dumpFile(DATA, STYLE) uses a specific output style.
STYLE can be "auto" (default), "block" or "flow".
I think the second case should be yaml.dumpFile(FILE, DATA, STYLE)
I think there is a typo in the help text of yaml.dumpFile:
I think the second case should be
yaml.dumpFile(FILE, DATA, STYLE)