source: pyyaml/trunk/tests3/data/serializer-is-not-opened-2.dumper-error @ 328

Revision 328, 95 bytes checked in by xi, 6 years ago (diff)

Added basic support for Python 3 (Thanks idadesub(at)users(dot)sourceforge(dot)net).

Line 
1dumper = yaml.Dumper(io.StringIO())
2dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))
Note: See TracBrowser for help on using the repository browser.