dyaml/test/data/serializer-is-not-opened-2.dumper-error

3 lines
92 B
Plaintext
Raw Normal View History

2011-08-16 12:53:13 +00:00
dumper = yaml.Dumper(StringIO())
dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))