dyaml/test/data/serializer-is-not-opened-2.dumper-error
Ferdinand Majerech 283c42bf8f Initial commit.
2011-08-16 14:53:13 +02:00

3 lines
92 B
Plaintext

dumper = yaml.Dumper(StringIO())
dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))