Can I dump blank instead of null in yaml/pyyaml?

前端 未结 3 975
灰色年华
灰色年华 2021-02-08 21:57

Using PyYAML, if I read in a file with blank values in a dict:

test_str = \'\'\'
attrs:
  first:
  second: value2
\'\'\'

This returns Non

3条回答
提交回复
热议问题