3 lines
92 B
Plaintext
3 lines
92 B
Plaintext
|
dumper = yaml.Dumper(StringIO())
|
||
|
dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))
|